ctype::do_tolower

调用虚函数将字符或字符范围转换为小写。

virtual CharType do_tolower(
    CharType ch
) const;
virtual const CharType *do_tolower(
    CharType* first, 
    const CharType* last
) const;

参数

  • ch
    要转换的字符转换为小写。

  • first
    对于第一个字符的指针将转换大小写的字符范围内。

  • last
    指向字符的指针在将转换大小写的字符范围内的最后一个字符之后。

返回值

第一个受保护的成员函数返回参数 ch的小写形式。如果例窗体不存在,则返回 ch。第二个受保护的成员函数返回 last。

备注

第二个受保护的成员模板函数。do_tolower(first []I替换 I 的每个元素 first []I,在[0,last – first),)。

示例

tolower参见示例,调用 do_tolower

要求

标头: <locale>

命名空间: std

请参见

参考

ctype Class