tmp/tmpx4tjc2l7/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
### `char_traits` specializations <a id="char.traits.specializations">[[char.traits.specializations]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<> struct char_traits<char>;
|
| 6 |
template<> struct char_traits<char8_t>;
|
| 7 |
template<> struct char_traits<char16_t>;
|
|
@@ -92,11 +94,11 @@ namespace std {
|
|
| 92 |
```
|
| 93 |
|
| 94 |
The two-argument members `assign`, `eq`, and `lt` are defined
|
| 95 |
identically to the built-in operators `=`, `==`, and `<` respectively.
|
| 96 |
|
| 97 |
-
The member `eof()` returns an implementation-defined constant that
|
| 98 |
cannot appear as a valid UTF-8 code unit.
|
| 99 |
|
| 100 |
#### `struct char_traits<char16_t>` <a id="char.traits.specializations.char16.t">[[char.traits.specializations.char16.t]]</a>
|
| 101 |
|
| 102 |
``` cpp
|
|
|
|
| 1 |
### `char_traits` specializations <a id="char.traits.specializations">[[char.traits.specializations]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="char.traits.specializations.general">[[char.traits.specializations.general]]</a>
|
| 4 |
+
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
template<> struct char_traits<char>;
|
| 8 |
template<> struct char_traits<char8_t>;
|
| 9 |
template<> struct char_traits<char16_t>;
|
|
|
|
| 94 |
```
|
| 95 |
|
| 96 |
The two-argument members `assign`, `eq`, and `lt` are defined
|
| 97 |
identically to the built-in operators `=`, `==`, and `<` respectively.
|
| 98 |
|
| 99 |
+
The member `eof()` returns an *implementation-defined* constant that
|
| 100 |
cannot appear as a valid UTF-8 code unit.
|
| 101 |
|
| 102 |
#### `struct char_traits<char16_t>` <a id="char.traits.specializations.char16.t">[[char.traits.specializations.char16.t]]</a>
|
| 103 |
|
| 104 |
``` cpp
|