From Jason Turner

[locale.category]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpk2yn_fji/{from.md → to.md} +19 -20
tmp/tmpk2yn_fji/{from.md → to.md} RENAMED
@@ -23,22 +23,21 @@ category, represents the union of the two categories.
23
 
24
  member functions expecting a `category` argument require one of the
25
  `category` values defined above, or the union of two or more such
26
  values. Such a `category` value identifies a set of locale categories.
27
  Each locale category, in turn, identifies a set of locale facets,
28
- including at least those shown in Table 
29
- [[tab:localization.category.facets]].
30
 
31
- **Table: Locale category facets** <a id="tab:localization.category.facets">[tab:localization.category.facets]</a>
32
 
33
  | Category | Includes facets |
34
  | -------- | ----------------------------------------------------- |
35
  | collate | `collate<char>`, `collate<wchar_t>` |
36
  | ctype | `ctype<char>`, `ctype<wchar_t>` |
37
  | | `codecvt<char, char, mbstate_t>` |
38
- | | `codecvt<char16_t, char, mbstate_t>` |
39
- | | `codecvt<char32_t, char, mbstate_t>` |
40
  | | `codecvt<wchar_t, char, mbstate_t>` |
41
  | monetary | `moneypunct<char>`, `moneypunct<wchar_t>` |
42
  | | `moneypunct<char, true>`, `moneypunct<wchar_t, true>` |
43
  | | `money_get<char>`, `money_get<wchar_t>` |
44
  | | `money_put<char>`, `money_put<wchar_t>` |
@@ -49,28 +48,28 @@ including at least those shown in Table 
49
  | | `time_put<char>`, `time_put<wchar_t>` |
50
  | messages | `messages<char>`, `messages<wchar_t>` |
51
 
52
 
53
  For any locale `loc` either constructed, or returned by
54
- `locale::classic()`, and any facet `Facet` shown in Table 
55
- [[tab:localization.category.facets]], `has_facet<Facet>(loc)` is `true`.
56
- Each `locale` member function which takes a `locale::category` argument
57
  operates on the corresponding set of facets.
58
 
59
  An implementation is required to provide those specializations for facet
60
  templates identified as members of a category, and for those shown in
61
- Table  [[tab:localization.required.specializations]].
62
 
63
- **Table: Required specializations** <a id="tab:localization.required.specializations">[tab:localization.required.specializations]</a>
64
 
65
  | Category | Includes facets |
66
  | -------- | --------------------------------------------------------- |
67
  | collate | `collate_byname<char>`, `collate_byname<wchar_t>` |
68
  | ctype | `ctype_byname<char>`, `ctype_byname<wchar_t>` |
69
  | | `codecvt_byname<char, char, mbstate_t>` |
70
- | | `codecvt_byname<char16_t, char, mbstate_t>` |
71
- | | `codecvt_byname<char32_t, char, mbstate_t>` |
72
  | | `codecvt_byname<wchar_t, char, mbstate_t>` |
73
  | monetary | `moneypunct_byname<char, International>` |
74
  | | `moneypunct_byname<wchar_t, International>` |
75
  | | `money_get<C, InputIterator>` |
76
  | | `money_put<C, OutputIterator>` |
@@ -93,14 +92,14 @@ The provided implementation of members of facets `num_get<charT>` and
93
  obtained by calling member `getloc()` on the `ios_base&` argument to
94
  these functions.
95
 
96
  In declarations of facets, a template parameter with name
97
  `InputIterator` or `OutputIterator` indicates the set of all possible
98
- specializations on parameters that satisfy the requirements of an Input
99
- Iterator or an Output Iterator, respectively (
100
- [[iterator.requirements]]). A template parameter with name `C`
101
- represents the set of types containing `char`, `wchar_t`, and any other
102
- *implementation-defined* character types that satisfy the requirements
103
- for a character on which any of the iostream components can be
104
- instantiated. A template parameter with name `International` represents
105
- the set of all possible specializations on a bool parameter.
106
 
 
23
 
24
  member functions expecting a `category` argument require one of the
25
  `category` values defined above, or the union of two or more such
26
  values. Such a `category` value identifies a set of locale categories.
27
  Each locale category, in turn, identifies a set of locale facets,
28
+ including at least those shown in [[locale.category.facets]].
 
29
 
30
+ **Table: Locale category facets** <a id="locale.category.facets">[locale.category.facets]</a>
31
 
32
  | Category | Includes facets |
33
  | -------- | ----------------------------------------------------- |
34
  | collate | `collate<char>`, `collate<wchar_t>` |
35
  | ctype | `ctype<char>`, `ctype<wchar_t>` |
36
  | | `codecvt<char, char, mbstate_t>` |
37
+ | | `codecvt<char16_t, char8_t, mbstate_t>` |
38
+ | | `codecvt<char32_t, char8_t, mbstate_t>` |
39
  | | `codecvt<wchar_t, char, mbstate_t>` |
40
  | monetary | `moneypunct<char>`, `moneypunct<wchar_t>` |
41
  | | `moneypunct<char, true>`, `moneypunct<wchar_t, true>` |
42
  | | `money_get<char>`, `money_get<wchar_t>` |
43
  | | `money_put<char>`, `money_put<wchar_t>` |
 
48
  | | `time_put<char>`, `time_put<wchar_t>` |
49
  | messages | `messages<char>`, `messages<wchar_t>` |
50
 
51
 
52
  For any locale `loc` either constructed, or returned by
53
+ `locale::classic()`, and any facet `Facet` shown in
54
+ [[locale.category.facets]], `has_facet<Facet>(loc)` is `true`. Each
55
+ `locale` member function which takes a `locale::category` argument
56
  operates on the corresponding set of facets.
57
 
58
  An implementation is required to provide those specializations for facet
59
  templates identified as members of a category, and for those shown in
60
+ [[locale.spec]].
61
 
62
+ **Table: Required specializations** <a id="locale.spec">[locale.spec]</a>
63
 
64
  | Category | Includes facets |
65
  | -------- | --------------------------------------------------------- |
66
  | collate | `collate_byname<char>`, `collate_byname<wchar_t>` |
67
  | ctype | `ctype_byname<char>`, `ctype_byname<wchar_t>` |
68
  | | `codecvt_byname<char, char, mbstate_t>` |
69
+ | | `codecvt_byname<char16_t, char8_t, mbstate_t>` |
70
+ | | `codecvt_byname<char32_t, char8_t, mbstate_t>` |
71
  | | `codecvt_byname<wchar_t, char, mbstate_t>` |
72
  | monetary | `moneypunct_byname<char, International>` |
73
  | | `moneypunct_byname<wchar_t, International>` |
74
  | | `money_get<C, InputIterator>` |
75
  | | `money_put<C, OutputIterator>` |
 
92
  obtained by calling member `getloc()` on the `ios_base&` argument to
93
  these functions.
94
 
95
  In declarations of facets, a template parameter with name
96
  `InputIterator` or `OutputIterator` indicates the set of all possible
97
+ specializations on parameters that meet the *Cpp17InputIterator*
98
+ requirements or *Cpp17OutputIterator* requirements, respectively
99
+ [[iterator.requirements]]. A template parameter with name `C` represents
100
+ the set of types containing `char`, `wchar_t`, and any other
101
+ *implementation-defined* character types that meet the requirements for
102
+ a character on which any of the iostream components can be instantiated.
103
+ A template parameter with name `International` represents the set of all
104
+ possible specializations on a bool parameter.
105