libycxx

class template

std::ctype

Header
<locale>
Scope
std
cppreference
std::ctype

Synopsis

template<class charT>
class ctype
    : public locale::facet
    , public ctype_base

Specializations

Member types

NameDeclaration
char_typetype alias · member type= charT
masktype alias · member type= unsigned short

Member functions

NameDeclaration
ctypeconstructorctype(size_t refs)
ismember function · 2 overloadsbool is(mask m, charT c) const +1 more
narrowmember function · 2 overloadschar narrow(charT c, char dfault) const +1 more
scan_ismember functionconst charT* scan_is(mask m, const charT* low, const charT* high) const
scan_notmember functionconst charT* scan_not(mask m, const charT* low, const charT* high) const
tolowermember function · 2 overloadscharT tolower(charT c) const +1 more
touppermember function · 2 overloadscharT toupper(charT c) const +1 more
widenmember function · 2 overloadscharT widen(char c) const +1 more

Static data members

NameDeclaration
alnumstatic data membermask
alphastatic data membermask
blankstatic data membermask
cntrlstatic data membermask
digitstatic data membermask
graphstatic data membermask
idstatic data memberlocale::id
lowerstatic data membermask
printstatic data membermask
punctstatic data membermask
spacestatic data membermask
upperstatic data membermask
xdigitstatic data membermask

Protected Member functions

NameDeclaration
~ctypedestructor~ctype()
operator=operatorvoid operator=(const facet& other)
do_ismember function · 2 overloadsbool do_is(mask m, charT c) const +1 more
do_narrowmember function · 2 overloadschar do_narrow(charT c, char dfault) const +1 more
do_scan_ismember functionconst charT* do_scan_is(mask m, const charT* low, const charT* high) const
do_scan_notmember functionconst charT* do_scan_not(mask m, const charT* low, const charT* high) const
do_tolowermember function · 2 overloadscharT do_tolower(charT c) const +1 more
do_touppermember function · 2 overloadscharT do_toupper(charT c) const +1 more
do_widenmember function · 2 overloadscharT do_widen(char c) const +1 more

Derived classes