locale::category type — Bitmask of facet categories
typedef int category; static const category none, collate, ctype, monetary, numeric, time, messages, all = collate|ctype|monetary|numeric|time|messages;
The category
type is an
int
and represents a bitmask of
category identifiers, as listed in Table 13-21. Each category
represents a set of one or more related facets. When combining
locales, you can copy all the facets in one or more categories.
Category identifiers can be combined using bitwise operators.
Table 13-21. Standard categories and their facets
Literal | Facets |
---|---|
|
|
|
|
| |
| |
|
|
| |