From Jason Turner

[locale.ctype.virtuals]

Diff to HTML by rtfpessoa

tmp/tmp9uwytt37/{from.md → to.md} RENAMED
@@ -7,30 +7,29 @@ const charT* do_is(const charT* low, const charT* high,
7
  ```
8
 
9
  *Effects:* Classifies a character or sequence of characters. For each
10
  argument character, identifies a value `M` of type `ctype_base::mask`.
11
  The second form identifies a value `M` of type `ctype_base::mask` for
12
- each `*p` where `(low<=p && p<high)`, and places it into `vec[p-low]`.
 
13
 
14
  *Returns:* The first form returns the result of the expression
15
  `(M & m) != 0`; i.e., `true` if the character has the characteristics
16
  specified. The second form returns `high`.
17
 
18
  ``` cpp
19
- const charT* do_scan_is(mask m,
20
- const charT* low, const charT* high) const;
21
  ```
22
 
23
  *Effects:* Locates a character in a buffer that conforms to a
24
  classification `m`.
25
 
26
- *Returns:* The smallest pointer `p` in the range `[low, high)` such that
27
- `is(m,*p)` would return `true`; otherwise, returns `high`.
28
 
29
  ``` cpp
30
- const charT* do_scan_not(mask m,
31
- const charT* low, const charT* high) const;
32
  ```
33
 
34
  *Effects:* Locates a character in a buffer that fails to conform to a
35
  classification `m`.
36
 
@@ -70,16 +69,16 @@ const char* do_widen(const char* low, const char* high,
70
  charT* dest) const;
71
  ```
72
 
73
  *Effects:* Applies the simplest reasonable transformation from a `char`
74
  value or sequence of `char` values to the corresponding `charT` value or
75
- values.[^4] The only characters for which unique transformations are
76
  required are those in the basic source character set ([[lex.charset]]).
77
 
78
  For any named `ctype` category with a `ctype <charT>` facet `ctc` and
79
  valid `ctype_base::mask` value `M`,
80
- `(ctc.is(M, c) || !is(M, do_widen(c)) )` is `true`.[^5]
81
 
82
  The second form transforms each character `*p` in the range \[`low`,
83
  `high`), placing the result in `dest[p - low]`.
84
 
85
  *Returns:* The first form returns the transformed value. The second form
 
7
  ```
8
 
9
  *Effects:* Classifies a character or sequence of characters. For each
10
  argument character, identifies a value `M` of type `ctype_base::mask`.
11
  The second form identifies a value `M` of type `ctype_base::mask` for
12
+ each `*p` where `(low <= p && p < high)`, and places it into
13
+ `vec[p - low]`.
14
 
15
  *Returns:* The first form returns the result of the expression
16
  `(M & m) != 0`; i.e., `true` if the character has the characteristics
17
  specified. The second form returns `high`.
18
 
19
  ``` cpp
20
+ const charT* do_scan_is(mask m, const charT* low, const charT* high) const;
 
21
  ```
22
 
23
  *Effects:* Locates a character in a buffer that conforms to a
24
  classification `m`.
25
 
26
+ *Returns:* The smallest pointer `p` in the range \[`low`, `high`) such
27
+ that `is(m, *p)` would return `true`; otherwise, returns `high`.
28
 
29
  ``` cpp
30
+ const charT* do_scan_not(mask m, const charT* low, const charT* high) const;
 
31
  ```
32
 
33
  *Effects:* Locates a character in a buffer that fails to conform to a
34
  classification `m`.
35
 
 
69
  charT* dest) const;
70
  ```
71
 
72
  *Effects:* Applies the simplest reasonable transformation from a `char`
73
  value or sequence of `char` values to the corresponding `charT` value or
74
+ values.[^5] The only characters for which unique transformations are
75
  required are those in the basic source character set ([[lex.charset]]).
76
 
77
  For any named `ctype` category with a `ctype <charT>` facet `ctc` and
78
  valid `ctype_base::mask` value `M`,
79
+ `(ctc.is(M, c) || !is(M, do_widen(c)) )` is `true`.[^6]
80
 
81
  The second form transforms each character `*p` in the range \[`low`,
82
  `high`), placing the result in `dest[p - low]`.
83
 
84
  *Returns:* The first form returns the transformed value. The second form