From Jason Turner

[locale.codecvt.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp6w4rhlcw/{from.md → to.md} +9 -12
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. The specialization
74
- `codecvt<char16_t, char8_t, mbstate_t>` converts between the UTF-16 and
75
- UTF-8 encoding forms, and the specialization
76
- `codecvt<char32_t, char8_t, mbstate_t>` converts between the UTF-32 and
77
- UTF-8 encoding forms. `codecvt<wchar_t, char, mbstate_t>` converts
78
- between the native character sets for ordinary and wide characters.
79
- Specializations on `mbstate_t` perform conversion between encodings
80
- known to the library implementer. Other encodings can be converted by
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