I think:
types::str upper(types::str const s)
{