template <class charT> class ctype;
| facets in locale objects | description |
|---|---|
ctype<char> | narrow characters produces the same results as the functions in header <cctype> for the classic locale
* specialized with a particular implementation (see specializations below) |
ctype<wchar_t> | wide characters |
| member type | definition | description |
|---|---|---|
| char_type | The template parameter (charT) | Character type |
| member constant | type | value | description |
|---|---|---|---|
| space | ctype_base::mask | unspecified (unique bits) | white-space character |
| ctype_base::mask | unspecified (unique bits) | printable character | |
| cntrl | ctype_base::mask | unspecified (unique bits) | control character |
| upper | ctype_base::mask | unspecified (unique bits) | uppercase letter |
| lower | ctype_base::mask | unspecified (unique bits) | lowercase letter |
| alpha | ctype_base::mask | unspecified (unique bits) | alphabetic character |
| digit | ctype_base::mask | unspecified (unique bits) | decimal digit |
| punct | ctype_base::mask | unspecified (unique bits) | punctuation character |
| xdigit | ctype_base::mask | unspecified (unique bits) | hexadecimal digit |
| alnum | ctype_base::mask | alpha|digit | alpha-numeric character |
| graph | ctype_base::mask | alnum|punct | character with graphic representation |
| member constant | type | value | description |
|---|---|---|---|
| space | ctype_base::mask | unspecified (unique bits) | white-space character |
| ctype_base::mask | unspecified (unique bits) | printable character | |
| cntrl | ctype_base::mask | unspecified (unique bits) | control character |
| upper | ctype_base::mask | unspecified (unique bits) | uppercase letter |
| lower | ctype_base::mask | unspecified (unique bits) | lowercase letter |
| alpha | ctype_base::mask | unspecified (unique bits) | alphabetic character |
| digit | ctype_base::mask | unspecified (unique bits) | decimal digit |
| punct | ctype_base::mask | unspecified (unique bits) | punctuation character |
| xdigit | ctype_base::mask | unspecified (unique bits) | hexadecimal digit |
| blank | ctype_base::mask | unspecified (unique bits) | blank character |
| alnum | ctype_base::mask | alpha|digit | alpha-numeric character |
| graph | ctype_base::mask | alnum|punct | character with graphic representation |
| specialization |
|---|
ctype<char> |
ctype<wchar_t> |
ctype<char>char specialization, some of the member functions are implemented inline instead of calling their do_ counterparts (this is the case for members is, scan_is and scan_not).| member constant | type | value | description |
|---|---|---|---|
| table_size | const size_t | implementation-specific (at least 256) | The size of the table |
char specialization.