cpp/locale/toupper

Converts the character to uppercase if possible, using the conversion rules specified by the given locale's std facet.

Return value
Returns the uppercase form of if one is listed in the locale, otherwise returns  unchanged.