Name
toupper function template — Converts a character to uppercase in a locale
Synopsis
template <typename charT>
charT toupper(charT c, const locale& loc);
The toupper
function
converts the character c
to
uppercase using the locale loc
:
use_facet<ctype<charT> >(loc).toupper(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.