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.

Synopsis

Declared in <util/strencodings.h>

constexpr
char
ToUpper(char c);

Return Value

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

Parameters

Name

Description

c [in]

the character to convert to uppercase.

Created with MrDocs