From Jason Turner

[locale.codecvt]

Diff to HTML by rtfpessoa

tmp/tmp9j0cmxed/{from.md → to.md} RENAMED
@@ -62,19 +62,20 @@ mapped between.
62
  The specializations required in Table 
63
  [[tab:localization.category.facets]] ([[locale.category]]) convert the
64
  implementation-defined native character set.
65
  `codecvt<char, char, mbstate_t>` implements a degenerate conversion; it
66
  does not convert at all. The specialization `codecvt<char16_t,`
67
- `char, mbstate_t>` converts between the UTF-16 and UTF-8 encoding
68
- schemes, and the specialization `codecvt` `<char32_t, char, mbstate_t>`
69
- converts between the UTF-32 and UTF-8 encoding schemes.
70
  `codecvt<wchar_t,char,mbstate_t>` converts between the native character
71
  sets for narrow and wide characters. Specializations on `mbstate_t`
72
  perform conversion between encodings known to the library implementer.
73
  Other encodings can be converted by specializing on a user-defined
74
- `stateT` type. The `stateT` object can contain any state that is useful
75
- to communicate to or from the specialized `do_in` or `do_out` members.
 
76
 
77
  ##### `codecvt` members <a id="locale.codecvt.members">[[locale.codecvt.members]]</a>
78
 
79
  ``` cpp
80
  result out(stateT& state,
 
62
  The specializations required in Table 
63
  [[tab:localization.category.facets]] ([[locale.category]]) convert the
64
  implementation-defined native character set.
65
  `codecvt<char, char, mbstate_t>` implements a degenerate conversion; it
66
  does not convert at all. The specialization `codecvt<char16_t,`
67
+ `char, mbstate_t>` converts between the UTF-16 and UTF-8 encoding forms,
68
+ and the specialization `codecvt` `<char32_t, char, mbstate_t>` converts
69
+ between the UTF-32 and UTF-8 encoding forms.
70
  `codecvt<wchar_t,char,mbstate_t>` converts between the native character
71
  sets for narrow and wide characters. Specializations on `mbstate_t`
72
  perform conversion between encodings known to the library implementer.
73
  Other encodings can be converted by specializing on a user-defined
74
+ `stateT` type. Objects of type `stateT` can contain any state that is
75
+ useful to communicate to or from the specialized `do_in` or `do_out`
76
+ members.
77
 
78
  ##### `codecvt` members <a id="locale.codecvt.members">[[locale.codecvt.members]]</a>
79
 
80
  ``` cpp
81
  result out(stateT& state,