toUpperInPlace

Converts s to uppercase (by performing Unicode uppercase mapping) in place. For a few characters string length may increase after the transformation, in such a case the function reallocates exactly once. If s does not have any lowercase characters, then s is unaltered.

version(!std_uni_bootstrap)
@trusted pure
void
toUpperInPlace
(
C
)
(
ref C[] s
)
if (
is(C == char) ||
is(C == wchar)
||
is(C == dchar)
)

Meta