const char_type* scan_not (mask m, const char_type* low, const char_type* high) const;
[low,high)
中第一个不属于 m 指定的任何类别的字符。如果在范围内未找到此类字符,则返回 high。char
特化 (ctype<char>
) 中,此函数使用内部 table 直接返回结果,而不调用任何虚成员。成员常量 | 值 | 描述 |
---|---|---|
space | unspecified (unique bits) | white-space character |
unspecified (unique bits) | 可打印字符 | |
cntrl | unspecified (unique bits) | 控制字符 |
upper | unspecified (unique bits) | 大写字母 |
lower | unspecified (unique bits) | 小写字母 |
alpha | unspecified (unique bits) | 字母字符 |
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 |
成员常量 | 值 | 描述 |
---|---|---|
space | unspecified (unique bits) | white-space character |
unspecified (unique bits) | 可打印字符 | |
cntrl | unspecified (unique bits) | 控制字符 |
upper | unspecified (unique bits) | 大写字母 |
lower | unspecified (unique bits) | 小写字母 |
alpha | unspecified (unique bits) | 字母字符 |
digit | unspecified (unique bits) | decimal digit |
punct | unspecified (unique bits) | punctuation character |
xdigit | unspecified (unique bits) | hexadecimal digit |
blank | unspecified (unique bits) | 空白字符 |
alnum | alpha|digit | alpha-numeric character |
graph | alnum|punct | character with graphic representation |
[low,high)
,它包含 low 和 high 之间的所有字符,包括 low 指向的字符,但不包括 high 指向的字符。
|
|
The first non-alphabetic character is: 2. |
[low,high)
中的元素被访问。