std::ctype<char>::scan_is

Defined in header <locale> const char* scan_is (mask m, const char* beg, const char* end) const; (1) Locates the first character in the character array [beg, end) that satisfies the classification mask m, that is, the first character c such that table()[(unsigned char) c] & m would return true. If (unsigned char)c >= std::ctype<char>::table_size, then an implementation-defined value is substituted instead of table()[(unsigned char)c], possibly different for dif

std::ctype&lt;char&gt;::classic_table

Defined in header <locale> static const mask* classic_table(); Returns the classification table that matches the classification used by the minimal "C" locale. Parameters (none). Return value A pointer to the first element in the classification table (which an array of size std::ctype<char>::table_size). Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Notes Default-constructed std::ctype<char> facets use this tab

std::ctype&lt;char&gt;::is

Defined in header <locale> bool is(mask m, char c) const; (1) const char* is(const char* low, const char* high, mask* vec) const; (2) 1) Checks if the character c is classified by the mask m according to the classification table returned by the member function table(). Effectively calculates table()[(unsigned char)c] & m 2) For every character in the character array [low, high), reads its full classification mask from the classification table returned by the me

std::ctype&lt;char&gt;::ctype

Defined in header <locale> explicit ctype( const mask* tbl = 0, bool del = false, std::size_t refs = 0); Creates a std::ctype<char> facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). If tbl is null, classic_table() is used by all classification member functions. Otherwise, tbl must be a pointer to the first element of an array of masks, at least std::ctype<char>::table_size in size, and that array is used

std::ctype&lt;char&gt;

Defined in header <locale> template<> class ctype<char>; This specialization of std::ctype encapsulates character classification features for type char. Unlike general-purpose std::ctype, which uses virtual functions, this specialization uses table lookup to classify characters (which is generally faster). The base class std::ctype<char> implements character classification equivalent to the minimal "C" locale. The classification rules can be extended or mo

std::ctype::tolower

Defined in header <locale> public: CharT tolower( CharT c) const; (1) public: const CharT* tolower( CharT* beg, const CharT* end ) const; (2) protected: virtual CharT do_tolower( CharT c ) const; (3) protected: virtual const CharT* do_tolower( CharT* beg, const CharT* end ) const; (4) 1,2) public member function, calls the protected virtual member function do_tolower of the most derived class. 3) Converts the character c to lower case if a lower case for

std::ctype::widen

Defined in header <locale> public: CharT widen( char c ) const; (1) public: const char* widen( const char* beg, const char* end, CharT* dst ) const; (2) protected: virtual CharT do_widen( char c ) const; (3) protected: virtual const char* do_widen( const char* beg, const char* end, CharT* dst ) const; (4) 1,2) public member function, calls the protected virtual member function do_widen of the most derived class. 3) Converts the single-byte character c to

std::ctype::toupper

Defined in header <locale> public: CharT toupper( CharT c ) const; (1) public: const CharT* toupper( CharT* beg, const CharT* end ) const; (2) protected: virtual CharT do_toupper( CharT c ) const; (3) protected: virtual const CharT* do_toupper( CharT* beg, const CharT* end ) const; (4) 1,2) public member function, calls the protected virtual member function do_toupper of the most derived class. 3) Converts the character c to upper case if an upper case f

std::ctype::scan_not

Defined in header <locale> public: const CharT* scan_not( mask m, const CharT* beg, const CharT* end ) const; (1) protected: virtual const CharT* do_scan_not( mask m, const CharT* beg, const CharT* end) const; (2) 1) public member function, calls the protected virtual member function do_scan_not of the most derived class. 2) Locates the first character in the character array [beg, end) that does not satisfy the classification mask m, that is, the first character c s

std::ctype::ctype

Defined in header <locale> explicit ctype( std::size_t refs = 0 ); Creates a std::ctype facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count