const char_type* scan_is (mask m, const char_type* low, const char_type* high) const;
[low,high)
中返回分類到 m 中指定的任何類別的第一個字元。如果在該範圍內未找到此類字元,則返回 high。char
特化 (ctype<char>
) 中,此函式使用內部 table 直接返回結果,而不呼叫任何虛成員。成員常量 | 值 | 描述 |
---|---|---|
space | unspecified (unique bits) | 空白字元 |
unspecified (unique bits) | 可列印字元 | |
cntrl | unspecified (unique bits) | 控制字元 |
upper | unspecified (unique bits) | 大寫字母 |
lower | unspecified (unique bits) | 小寫字母 |
alpha | unspecified (unique bits) | 字母字元 |
digit | unspecified (unique bits) | 十進位制數字 |
punct | unspecified (unique bits) | 標點符號字元 |
xdigit | unspecified (unique bits) | 十六進位制數字 |
alnum | alpha|digit | 字母數字字元 |
graph | alnum|punct | 具有圖形表示的字元 |
成員常量 | 值 | 描述 |
---|---|---|
space | unspecified (unique bits) | 空白字元 |
unspecified (unique bits) | 可列印字元 | |
cntrl | unspecified (unique bits) | 控制字元 |
upper | unspecified (unique bits) | 大寫字母 |
lower | unspecified (unique bits) | 小寫字母 |
alpha | unspecified (unique bits) | 字母字元 |
digit | unspecified (unique bits) | 十進位制數字 |
punct | unspecified (unique bits) | 標點符號字元 |
xdigit | unspecified (unique bits) | 十六進位制數字 |
blank | unspecified (unique bits) | 空白字元 |
alnum | alpha|digit | 字母數字字元 |
graph | alnum|punct | 具有圖形表示的字元 |
[low,high)
,它包含 low 和 high 之間的所有字元,包括 low 指向的字元,但不包括 high 指向的字元。
|
|
The second sentence is: . Opinions alter, but characters are only developed. |
[low,high)
中的元素會被訪問。