From Jason Turner

[locale.category]

Diff to HTML by rtfpessoa

tmp/tmpsmyhfy97/{from.md → to.md} RENAMED
@@ -1,9 +1,9 @@
1
  ##### Type `locale::category` <a id="locale.category">[[locale.category]]</a>
2
 
3
  ``` cpp
4
- typedef int category;
5
  ```
6
 
7
  *Valid* `category` values include the `locale` member bitmask elements
8
  `collate`, `ctype`, `monetary`, `numeric`, `time`, and `messages`, each
9
  of which represents a single locale category. In addition, `locale`
@@ -29,11 +29,11 @@ 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>` |
@@ -50,22 +50,22 @@ including at least those shown in Table 
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>` |
@@ -97,10 +97,10 @@ 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 for
103
- a character on which any of the iostream components can be instantiated.
104
- A template parameter with name `International` represents the set of all
105
- possible specializations on a bool parameter.
106
 
 
1
  ##### Type `locale::category` <a id="locale.category">[[locale.category]]</a>
2
 
3
  ``` cpp
4
+ using category = int;
5
  ```
6
 
7
  *Valid* `category` values include the `locale` member bitmask elements
8
  `collate`, `ctype`, `monetary`, `numeric`, `time`, and `messages`, each
9
  of which represents a single locale category. In addition, `locale`
 
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>` |
 
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>` |
 
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