ctype::do_toupper
A virtual function called to convert a character or a range of characters to upper case.
virtual CharType do_toupper(
CharType _Ch
) const;
virtual const CharType *do_toupper(
CharType* _First,
const CharType* _Last
) const;
Parameters
_Ch
The character to be converted to upper case._First
A pointer to the first character in the range of characters whose cases are to be converted._Last
A pointer to the last character in the range of characters whose cases are to be converted.
Return Value
The first protected member function returns the uppercase form of the parameter character. If no uppercase form exists, it returns the parameter character. The second protected member function returns a constant pointer to the first character in the converted range of characters.
Remarks
The second protected member template function replaces each element _First [I], for I in the interval [0, _Last – _First), with do_toupper(_First [I]).
Example
See the example for toupper, which calls do_toupper.
Requirements
Header: <locale>
Namespace: std