tmp/tmps4m3z1hf/{from.md → to.md}
RENAMED
|
@@ -67,12 +67,14 @@ charT do_widen(char c) const;
|
|
| 67 |
const char* do_widen(const char* low, const char* high, charT* dest) const;
|
| 68 |
```
|
| 69 |
|
| 70 |
*Effects:* Applies the simplest reasonable transformation from a `char`
|
| 71 |
value or sequence of `char` values to the corresponding `charT` value or
|
| 72 |
-
values.[^5]
|
| 73 |
-
|
|
|
|
|
|
|
| 74 |
|
| 75 |
For any named `ctype` category with a `ctype<charT>` facet `ctc` and
|
| 76 |
valid `ctype_base::mask` value `M`,
|
| 77 |
`(ctc.is(M, c) || !is(M, do_widen(c)) )` is `true`.[^6]
|
| 78 |
|
|
@@ -89,12 +91,12 @@ const charT* do_narrow(const charT* low, const charT* high, char dfault, char* d
|
|
| 89 |
|
| 90 |
*Effects:* Applies the simplest reasonable transformation from a `charT`
|
| 91 |
value or sequence of `charT` values to the corresponding `char` value or
|
| 92 |
values.
|
| 93 |
|
| 94 |
-
For any character `c` in the basic
|
| 95 |
-
|
| 96 |
|
| 97 |
``` cpp
|
| 98 |
do_widen(do_narrow(c, 0)) == c
|
| 99 |
```
|
| 100 |
|
|
|
|
| 67 |
const char* do_widen(const char* low, const char* high, charT* dest) const;
|
| 68 |
```
|
| 69 |
|
| 70 |
*Effects:* Applies the simplest reasonable transformation from a `char`
|
| 71 |
value or sequence of `char` values to the corresponding `charT` value or
|
| 72 |
+
values.[^5]
|
| 73 |
+
|
| 74 |
+
The only characters for which unique transformations are required are
|
| 75 |
+
those in the basic 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 |
|
|
|
|
| 91 |
|
| 92 |
*Effects:* Applies the simplest reasonable transformation from a `charT`
|
| 93 |
value or sequence of `charT` values to the corresponding `char` value or
|
| 94 |
values.
|
| 95 |
|
| 96 |
+
For any character `c` in the basic character set [[lex.charset]] the
|
| 97 |
+
transformation is such that
|
| 98 |
|
| 99 |
``` cpp
|
| 100 |
do_widen(do_narrow(c, 0)) == c
|
| 101 |
```
|
| 102 |
|