tmp/tmp6bjrwt2q/{from.md → to.md}
RENAMED
|
@@ -1,20 +1,19 @@
|
|
| 1 |
### Character traits requirements <a id="char.traits.require">[[char.traits.require]]</a>
|
| 2 |
|
| 3 |
-
In
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
`
|
| 8 |
-
`X::
|
| 9 |
-
|
| 10 |
-
type `CharT`. Operations on Traits shall not throw exceptions.
|
| 11 |
|
| 12 |
The class template
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
template<class charT> struct char_traits;
|
| 16 |
```
|
| 17 |
|
| 18 |
-
|
| 19 |
specializations.
|
| 20 |
|
|
|
|
| 1 |
### Character traits requirements <a id="char.traits.require">[[char.traits.require]]</a>
|
| 2 |
|
| 3 |
+
In [[char.traits.req]], `X` denotes a traits class defining types and
|
| 4 |
+
functions for the character container type `C`; `c` and `d` denote
|
| 5 |
+
values of type `C`; `p` and `q` denote values of type `const C*`; `s`
|
| 6 |
+
denotes a value of type `C*`; `n`, `i` and `j` denote values of type
|
| 7 |
+
`size_t`; `e` and `f` denote values of type `X::int_type`; `pos` denotes
|
| 8 |
+
a value of type `X::pos_type`; and `r` denotes an lvalue of type `C`.
|
| 9 |
+
Operations on `X` shall not throw exceptions.
|
|
|
|
| 10 |
|
| 11 |
The class template
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
template<class charT> struct char_traits;
|
| 15 |
```
|
| 16 |
|
| 17 |
+
is provided in the header `<string>` as a basis for explicit
|
| 18 |
specializations.
|
| 19 |
|