ctype::do_tolower

A virtual function called to convert a character or a range of characters to lower case.

virtual CharType do_tolower(
    CharType _Ch
) const;
virtual const CharType *do_tolower(
    CharType* _First, 
    const CharType* _Last,
) const;

Parameters

  • _Ch
    The character to be converted to lower 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 lowercase form of the parameter character. If no lowercase 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_tolower(_First [I]).

Example

See the example for tolower, which calls do_tolower.

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

ctype Class

ctype Members