18 if (static_cast<unsigned>(ch -
'a') < 26u)
19 ch =
static_cast<char>(ch -
'a' +
'A');
24 std::transform(str->begin(), str->end(), str->begin(),
30 std::string str_copy(str.size(), 0);
31 std::transform(str.begin(), str.end(), str_copy.begin(),
char to_upper(char ch)
Transform the given character to upper case without any localization.