tmp/tmpo_eork05/{from.md → to.md}
RENAMED
|
@@ -9,17 +9,17 @@ requirements.
|
|
| 9 |
Most classes specified in Clauses [[string.classes]] and
|
| 10 |
[[input.output]] need a set of related types and functions to complete
|
| 11 |
the definition of their semantics. These types and functions are
|
| 12 |
provided as a set of member typedefs and functions in the template
|
| 13 |
parameter ‘traits’ used by each such template. This subclause defines
|
| 14 |
-
the semantics
|
| 15 |
|
| 16 |
To specialize those templates to generate a string or iostream class to
|
| 17 |
handle a particular character container type `CharT`, that and its
|
| 18 |
related character traits class `Traits` are passed as a pair of
|
| 19 |
-
parameters to the string or iostream template as
|
| 20 |
-
`
|
| 21 |
|
| 22 |
This subclause specifies a struct template, `char_traits<charT>`, and
|
| 23 |
four explicit specializations of it, `char_traits<{}char>`,
|
| 24 |
`char_traits<char16_t>`, `char_traits<char32_t>`, and
|
| 25 |
`char_traits<wchar_t>`, all of which appear in the header `<string>` and
|
|
|
|
| 9 |
Most classes specified in Clauses [[string.classes]] and
|
| 10 |
[[input.output]] need a set of related types and functions to complete
|
| 11 |
the definition of their semantics. These types and functions are
|
| 12 |
provided as a set of member typedefs and functions in the template
|
| 13 |
parameter ‘traits’ used by each such template. This subclause defines
|
| 14 |
+
the semantics of these members.
|
| 15 |
|
| 16 |
To specialize those templates to generate a string or iostream class to
|
| 17 |
handle a particular character container type `CharT`, that and its
|
| 18 |
related character traits class `Traits` are passed as a pair of
|
| 19 |
+
parameters to the string or iostream template as parameters `charT` and
|
| 20 |
+
`traits`. `Traits::char_type` shall be the same as `CharT`.
|
| 21 |
|
| 22 |
This subclause specifies a struct template, `char_traits<charT>`, and
|
| 23 |
four explicit specializations of it, `char_traits<{}char>`,
|
| 24 |
`char_traits<char16_t>`, `char_traits<char32_t>`, and
|
| 25 |
`char_traits<wchar_t>`, all of which appear in the header `<string>` and
|