From Jason Turner

[facet.ctype.char.members]

Diff to HTML by rtfpessoa

tmp/tmp8ivfckrf/{from.md → to.md} RENAMED
@@ -8,22 +8,23 @@ implementation-specific value (possibly different for each such value
8
  ``` cpp
9
  explicit ctype(const mask* tbl = 0, bool del = false,
10
  size_t refs = 0);
11
  ```
12
 
13
- `tbl` either 0 or an array of at least `table_size` elements.
 
14
 
15
  *Effects:* Passes its `refs` argument to its base class constructor.
16
 
17
  ``` cpp
18
  bool is(mask m, char c) const;
19
  const char* is(const char* low, const char* high,
20
  mask* vec) const;
21
  ```
22
 
23
  *Effects:* The second form, for all `*p` in the range \[`low`, `high`),
24
- assigns into `vec[p-low]` the value `table()[(unsigned char)*p]`.
25
 
26
  *Returns:* The first form returns `table()[(unsigned char)c] & m`; the
27
  second form returns `high`.
28
 
29
  ``` cpp
@@ -85,8 +86,8 @@ respectively.
85
 
86
  ``` cpp
87
  const mask* table() const noexcept;
88
  ```
89
 
90
- *Returns:* The first constructor argument, if it was non-zero, otherwise
91
  `classic_table()`.
92
 
 
8
  ``` cpp
9
  explicit ctype(const mask* tbl = 0, bool del = false,
10
  size_t refs = 0);
11
  ```
12
 
13
+ *Requires:* `tbl` either 0 or an array of at least `table_size`
14
+ elements.
15
 
16
  *Effects:* Passes its `refs` argument to its base class constructor.
17
 
18
  ``` cpp
19
  bool is(mask m, char c) const;
20
  const char* is(const char* low, const char* high,
21
  mask* vec) const;
22
  ```
23
 
24
  *Effects:* The second form, for all `*p` in the range \[`low`, `high`),
25
+ assigns into `vec[p - low]` the value `table()[(unsigned char)*p]`.
26
 
27
  *Returns:* The first form returns `table()[(unsigned char)c] & m`; the
28
  second form returns `high`.
29
 
30
  ``` cpp
 
86
 
87
  ``` cpp
88
  const mask* table() const noexcept;
89
  ```
90
 
91
+ *Returns:* The first constructor argument, if it was nonzero, otherwise
92
  `classic_table()`.
93