Standard C++ Library Reference ISO/IEC (VERSION3)

ctype
char_type · ctype · do_is · do_narrow · do_scan_is · do_scan_not · do_tolower ·
do_toupper · do_widen · is · narrow · scan_is · scan_not · tolower · toupper ·
widen
template<class Elem>
class ctype
: public locale::facet, public ctype_base {
public:
typedef Elem char_type;
explicit ctype(size_t refs = 0);
bool is(mask maskval, Elem ch) const;
const Elem *is(const Elem *first, const Elem *last,
mask *dest) const;
const Elem *scan_is(mask maskval, const Elem *first,
const Elem *last) const;
const Elem *scan_not(mask maskval, const Elem *first,
const Elem *last) const;
Elem toupper(Elem ch) const;
const Elem *toupper(Elem *first, Elem *last) const;
Elem tolower(Elem ch) const;
const Elem *tolower(Elem *first, Elem *last) const;
Elem widen(char byte) const;
const char *widen(char *first, char *last,
Elem *dest) const;
char narrow(Elem ch, char dflt) const;
const Elem *narrow(const Elem *first, const Elem *last,
char dflt, char *dest) const;
static locale::id id;
protected:
~ctype();
virtual bool do_is(mask maskval, Elem ch) const;
virtual const Elem *do_is(const Elem *first, const Elem *last,
mask *dest) const;
virtual const Elem *do_scan_is(mask maskval, const Elem *first,
const Elem *last) const;
virtual const Elem *do_scan_not(mask maskval, const Elem *first,
const Elem *last) const;
virtual Elem do_toupper(Elem ch) const;
virtual const Elem *do_toupper(Elem *first, Elem *last) const;
virtual Elem do_tolower(Elem ch) const;
virtual const Elem *do_tolower(Elem *first, Elem *last) const;
virtual Elem do_widen(char byte) const;
virtual const char *do_widen(char *first, char *last,
Elem *dest) const;
virtual char do_narrow(Elem ch, char dflt) const;
virtual const Elem *do_narrow(const Elem *first,
const Elem *last, char dflt, char *dest) const;
};