From Jason Turner

[locale.ctype]

Diff to HTML by rtfpessoa

tmp/tmpv6wrkqg6/{from.md → to.md} RENAMED
@@ -1,7 +1,9 @@
1
  #### Class template `ctype` <a id="locale.ctype">[[locale.ctype]]</a>
2
 
 
 
3
  ``` cpp
4
  namespace std {
5
  template<class charT>
6
  class ctype : public locale::facet, public ctype_base {
7
  public:
@@ -171,12 +173,14 @@ charT do_widen(char c) const;
171
  const char* do_widen(const char* low, const char* high, charT* dest) const;
172
  ```
173
 
174
  *Effects:* Applies the simplest reasonable transformation from a `char`
175
  value or sequence of `char` values to the corresponding `charT` value or
176
- values.[^5] The only characters for which unique transformations are
177
- required are those in the basic source character set [[lex.charset]].
 
 
178
 
179
  For any named `ctype` category with a `ctype<charT>` facet `ctc` and
180
  valid `ctype_base::mask` value `M`,
181
  `(ctc.is(M, c) || !is(M, do_widen(c)) )` is `true`.[^6]
182
 
@@ -193,12 +197,12 @@ const charT* do_narrow(const charT* low, const charT* high, char dfault, char* d
193
 
194
  *Effects:* Applies the simplest reasonable transformation from a `charT`
195
  value or sequence of `charT` values to the corresponding `char` value or
196
  values.
197
 
198
- For any character `c` in the basic source character set [[lex.charset]]
199
- the transformation is such that
200
 
201
  ``` cpp
202
  do_widen(do_narrow(c, 0)) == c
203
  ```
204
 
 
1
  #### Class template `ctype` <a id="locale.ctype">[[locale.ctype]]</a>
2
 
3
+ ##### General <a id="locale.ctype.general">[[locale.ctype.general]]</a>
4
+
5
  ``` cpp
6
  namespace std {
7
  template<class charT>
8
  class ctype : public locale::facet, public ctype_base {
9
  public:
 
173
  const char* do_widen(const char* low, const char* high, charT* dest) const;
174
  ```
175
 
176
  *Effects:* Applies the simplest reasonable transformation from a `char`
177
  value or sequence of `char` values to the corresponding `charT` value or
178
+ values.[^5]
179
+
180
+ The only characters for which unique transformations are required are
181
+ those in the basic character set [[lex.charset]].
182
 
183
  For any named `ctype` category with a `ctype<charT>` facet `ctc` and
184
  valid `ctype_base::mask` value `M`,
185
  `(ctc.is(M, c) || !is(M, do_widen(c)) )` is `true`.[^6]
186
 
 
197
 
198
  *Effects:* Applies the simplest reasonable transformation from a `charT`
199
  value or sequence of `charT` values to the corresponding `char` value or
200
  values.
201
 
202
+ For any character `c` in the basic character set [[lex.charset]] the
203
+ transformation is such that
204
 
205
  ``` cpp
206
  do_widen(do_narrow(c, 0)) == c
207
  ```
208