From Jason Turner

[category.ctype.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpo1ppq_vu/{from.md → to.md} +27 -0
tmp/tmpo1ppq_vu/{from.md → to.md} RENAMED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### General <a id="category.ctype.general">[[category.ctype.general]]</a>
2
+
3
+ ``` cpp
4
+ namespace std {
5
+ class ctype_base {
6
+ public:
7
+ using mask = see below;
8
+
9
+ // numeric values are for exposition only.
10
+ static const mask space = 1 << 0;
11
+ static const mask print = 1 << 1;
12
+ static const mask cntrl = 1 << 2;
13
+ static const mask upper = 1 << 3;
14
+ static const mask lower = 1 << 4;
15
+ static const mask alpha = 1 << 5;
16
+ static const mask digit = 1 << 6;
17
+ static const mask punct = 1 << 7;
18
+ static const mask xdigit = 1 << 8;
19
+ static const mask blank = 1 << 9;
20
+ static const mask alnum = alpha | digit;
21
+ static const mask graph = alnum | punct;
22
+ };
23
+ }
24
+ ```
25
+
26
+ The type `mask` is a bitmask type [[bitmask.types]].
27
+