tmp/tmp6w4rhlcw/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
##### General <a id="locale.codecvt.general">[[locale.codecvt.general]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
class codecvt_base {
|
| 6 |
public:
|
|
@@ -68,17 +68,14 @@ The `stateT` argument selects the pair of character encodings being
|
|
| 68 |
mapped between.
|
| 69 |
|
| 70 |
The specializations required in [[locale.category.facets]]
|
| 71 |
[[locale.category]] convert the implementation-defined native character
|
| 72 |
set. `codecvt<char, char, mbstate_t>` implements a degenerate
|
| 73 |
-
conversion; it does not convert at all.
|
| 74 |
-
`codecvt<
|
| 75 |
-
|
| 76 |
-
`
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
specializing on a program-defined `stateT` type. Objects of type
|
| 82 |
-
`stateT` can contain any state that is useful to communicate to or from
|
| 83 |
-
the specialized `do_in` or `do_out` members.
|
| 84 |
|
|
|
|
| 1 |
+
###### General <a id="locale.codecvt.general">[[locale.codecvt.general]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
class codecvt_base {
|
| 6 |
public:
|
|
|
|
| 68 |
mapped between.
|
| 69 |
|
| 70 |
The specializations required in [[locale.category.facets]]
|
| 71 |
[[locale.category]] convert the implementation-defined native character
|
| 72 |
set. `codecvt<char, char, mbstate_t>` implements a degenerate
|
| 73 |
+
conversion; it does not convert at all.
|
| 74 |
+
`codecvt<wchar_t, char, mbstate_t>` converts between the native
|
| 75 |
+
character sets for ordinary and wide characters. Specializations on
|
| 76 |
+
`mbstate_t` perform conversion between encodings known to the library
|
| 77 |
+
implementer. Other encodings can be converted by specializing on a
|
| 78 |
+
program-defined `stateT` type. Objects of type `stateT` can contain any
|
| 79 |
+
state that is useful to communicate to or from the specialized `do_in`
|
| 80 |
+
or `do_out` members.
|
|
|
|
|
|
|
|
|
|
| 81 |
|