Name
tolower function template — Converts a character to lowercase in a locale
Synopsis
template <typename charT>
charT tolower(charT c, const locale& loc);
The tolower
function
converts the character c
to
lowercase using the locale loc
:
use_facet<ctype<charT> >(loc).tolower(c)
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.