Difference between revisions of "cpp/locale"
From cppreference.com
< cpp
m (tclass->class) |
(→Locales: move to templates) |
||
Line 43: | Line 43: | ||
{{dcl list h2 | Facet categories }} | {{dcl list h2 | Facet categories }} | ||
− | {{dcl list | + | {{dcl list template | cpp/locale/ctype}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/ctype_char}} |
{{dcl list template | cpp/locale/dcl list codecvt}} | {{dcl list template | cpp/locale/dcl list codecvt}} | ||
{{dcl list template | cpp/locale/dcl list collate}} | {{dcl list template | cpp/locale/dcl list collate}} | ||
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list messages}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list time_get}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list time_put}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list num_get}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list num_put}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list numpunct}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list money_get}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list money_put}} |
− | {{dcl list | + | {{dcl list template | cpp/locale/dcl list moneypunct}} |
+ | |||
{{dcl list h2 | Locale-specific facet categories }} | {{dcl list h2 | Locale-specific facet categories }} | ||
{{dcl list tclass | cpp/locale/ctype_byname | extends {{cpp|std::ctype}} for the specified locale }} | {{dcl list tclass | cpp/locale/ctype_byname | extends {{cpp|std::ctype}} for the specified locale }} |
Revision as of 12:56, 9 November 2011
The locale facility includes internationalization support for character classification and string collation, numeric, monetary, and date/time formatting and parsing, and message retrieval. Locale settings control the behavior of stream I/O, regular expression library, and other components of the C++ standard library.
Contents |
Locales
Locale-independent unicode conversion facets
C library locales
Defined in header
<clocale> | |
full locale category for Template:cpp (macro constant) | |
string comparison locale category for Template:cpp (macro constant) | |
character classification locale category for Template:cpp (macro constant) | |
monetary formatting locale category for Template:cpp (macro constant) | |
nonmonetary numeric formatting locale category for Template:cpp (macro constant) | |
time formatting locale category for Template:cpp (macro constant) | |
queries numeric and monetary formatting details of the current locale (function) | |
formatting details, returned by Template:cpp (class) |