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);

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);

Return Value

  • the uppercase equivalent of c; or the argument if no conversion is possible.

  • UPPERCASED EQUIVALENT OF str

Parameters

Name

Description

c [in]

the character to convert to uppercase.

str [in]

the string to convert to uppercase.

Created with MrDocs