tmp/tmp_fqhz90m/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
-
###
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
|
| 5 |
```
|
| 6 |
|
| 7 |
The type `char_type` is used to refer to the character container type in
|
| 8 |
the implementation of the library classes defined in [[string.classes]]
|
| 9 |
and Clause [[input.output]].
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
-
|
| 13 |
```
|
| 14 |
|
| 15 |
*Requires:* For a certain character container type `char_type`, a
|
| 16 |
related container type `INT_T` shall be a type or class which can
|
| 17 |
represent all of the valid characters converted from the corresponding
|
|
@@ -19,21 +19,21 @@ represent all of the valid characters converted from the corresponding
|
|
| 19 |
`int_type` represents a character container type which can hold
|
| 20 |
end-of-file to be used as a return type of the iostream class member
|
| 21 |
functions.[^1]
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
-
|
| 25 |
-
|
| 26 |
```
|
| 27 |
|
| 28 |
*Requires:* Requirements for `off_type` and `pos_type` are described
|
| 29 |
in [[iostreams.limits.pos]] and [[iostream.forward]].
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
-
|
| 33 |
```
|
| 34 |
|
| 35 |
*Requires:* `state_type` shall meet the requirements of `CopyAssignable`
|
| 36 |
-
(Table [[copyassignable]]), `CopyConstructible`
|
| 37 |
-
(Table [[copyconstructible]]), and `DefaultConstructible`
|
| 38 |
-
(Table [[defaultconstructible]]) types.
|
| 39 |
|
|
|
|
| 1 |
+
### Traits typedefs <a id="char.traits.typedefs">[[char.traits.typedefs]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
using char_type = CHAR_T;
|
| 5 |
```
|
| 6 |
|
| 7 |
The type `char_type` is used to refer to the character container type in
|
| 8 |
the implementation of the library classes defined in [[string.classes]]
|
| 9 |
and Clause [[input.output]].
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
+
using int_type = INT_T;
|
| 13 |
```
|
| 14 |
|
| 15 |
*Requires:* For a certain character container type `char_type`, a
|
| 16 |
related container type `INT_T` shall be a type or class which can
|
| 17 |
represent all of the valid characters converted from the corresponding
|
|
|
|
| 19 |
`int_type` represents a character container type which can hold
|
| 20 |
end-of-file to be used as a return type of the iostream class member
|
| 21 |
functions.[^1]
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
+
using off_type = implementation-defined;
|
| 25 |
+
using pos_type = implementation-defined;
|
| 26 |
```
|
| 27 |
|
| 28 |
*Requires:* Requirements for `off_type` and `pos_type` are described
|
| 29 |
in [[iostreams.limits.pos]] and [[iostream.forward]].
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
+
using state_type = STATE_T;
|
| 33 |
```
|
| 34 |
|
| 35 |
*Requires:* `state_type` shall meet the requirements of `CopyAssignable`
|
| 36 |
+
(Table [[tab:copyassignable]]), `CopyConstructible`
|
| 37 |
+
(Table [[tab:copyconstructible]]), and `DefaultConstructible`
|
| 38 |
+
(Table [[tab:defaultconstructible]]) types.
|
| 39 |
|