ToUpper

ToUpper overloads

Synopses

Declared in <util/strencodings.h>

Converts the given character to its uppercase equivalent. This function is locale independent. It only converts lowercase characters in the standard 7-bit ASCII range. This is a feature, not a limitation.

constexpr
char
ToUpper(char c);
» more...

Returns the uppercase equivalent of the given string. This function is locale independent. It only converts lowercase characters in the standard 7-bit ASCII range. This is a feature, not a limitation.

std::string
ToUpper(std::string_view str);
» more...

Return Value

  • the uppercase equivalent of c; or the argument if no conversion is possible.
  • UPPERCASED EQUIVALENT OF str

Parameters

NameDescription
c [in]the character to convert to uppercase.
str [in]the string to convert to uppercase.