| single character (1) | bool is (mask m, char_type c) const; |
|---|---|
| sequence (2) | const char_type* is (const char_type* low, const char_type* high, mask* vec) const; |
[low,high), sequentially filling the array vec with the bitmask classification of each character.char specialization (ctype<char>), this function uses the internal table to directly return the results without calling any virtual member.true if the character belongs to any of the categories.| member constant | value | description |
|---|---|---|
| space | unspecified (unique bits) | white-space character |
| unspecified (unique bits) | printable character | |
| cntrl | unspecified (unique bits) | control character |
| upper | unspecified (unique bits) | uppercase letter |
| lower | unspecified (unique bits) | lowercase letter |
| alpha | unspecified (unique bits) | alphabetic character |
| digit | unspecified (unique bits) | decimal digit |
| punct | unspecified (unique bits) | punctuation character |
| xdigit | unspecified (unique bits) | hexadecimal digit |
| alnum | alpha|digit | alpha-numeric character |
| graph | alnum|punct | character with graphic representation |
| member constant | value | description |
|---|---|---|
| space | unspecified (unique bits) | white-space character |
| unspecified (unique bits) | printable character | |
| cntrl | unspecified (unique bits) | control character |
| upper | unspecified (unique bits) | uppercase letter |
| lower | unspecified (unique bits) | lowercase letter |
| alpha | unspecified (unique bits) | alphabetic character |
| digit | unspecified (unique bits) | decimal digit |
| punct | unspecified (unique bits) | punctuation character |
| xdigit | unspecified (unique bits) | hexadecimal digit |
| blank | unspecified (unique bits) | blank character |
| alnum | alpha|digit | alpha-numeric character |
| graph | alnum|punct | character with graphic representation |
[low,high), which contains all the characters between low and high, including the character pointed by low but not the character pointed by high.(high-low) elements of type mask.true if c classifies in any of the categories passed as mask m. |
|
"It is wonderful how much may be done if we are always doing." The quote begins with an uppercase letter? true The quote has 12 whitespaces. |
[low,high) are accessed, and the elements in the array pointed by vec are modified.