Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/locale"

From cppreference.com
< cpp
m (r2.7.3) (Robot: Adding ar, de, es, fr, it, ja, pt, ru, zh)
m (Shorten template names. Use {{lc}} where appropriate.)
Line 5: Line 5:
  
 
=== Locales ===
 
=== Locales ===
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list header | locale }}
+
{{dsc header | locale }}
  
{{dcl list h2 | Locales and facets }}
+
{{dsc h2 | Locales and facets }}
{{dcl list template | cpp/locale/dcl list locale}}
+
{{dsc inc | cpp/locale/dcl list locale}}
{{dcl list template | cpp/locale/dcl list use_facet}}
+
{{dsc inc | cpp/locale/dcl list use_facet}}
{{dcl list template | cpp/locale/dcl list has_facet}}
+
{{dsc inc | cpp/locale/dcl list has_facet}}
  
{{dcl list h2 | Character classification }}
+
{{dsc h2 | Character classification }}
{{dcl list template | cpp/locale/dcl list isspace}}
+
{{dsc inc | cpp/locale/dcl list isspace}}
{{dcl list template | cpp/locale/dcl list isblank}}
+
{{dsc inc | cpp/locale/dcl list isblank}}
{{dcl list template | cpp/locale/dcl list iscntrl}}
+
{{dsc inc | cpp/locale/dcl list iscntrl}}
{{dcl list template | cpp/locale/dcl list isupper}}
+
{{dsc inc | cpp/locale/dcl list isupper}}
{{dcl list template | cpp/locale/dcl list islower}}
+
{{dsc inc | cpp/locale/dcl list islower}}
{{dcl list template | cpp/locale/dcl list isalpha}}
+
{{dsc inc | cpp/locale/dcl list isalpha}}
{{dcl list template | cpp/locale/dcl list isdigit}}
+
{{dsc inc | cpp/locale/dcl list isdigit}}
{{dcl list template | cpp/locale/dcl list ispunct}}
+
{{dsc inc | cpp/locale/dcl list ispunct}}
{{dcl list template | cpp/locale/dcl list isxdigit}}
+
{{dsc inc | cpp/locale/dcl list isxdigit}}
{{dcl list template | cpp/locale/dcl list isalnum}}
+
{{dsc inc | cpp/locale/dcl list isalnum}}
{{dcl list template | cpp/locale/dcl list isprint}}
+
{{dsc inc | cpp/locale/dcl list isprint}}
{{dcl list template | cpp/locale/dcl list isgraph}}
+
{{dsc inc | cpp/locale/dcl list isgraph}}
  
{{dcl list h2 | Character conversions }}
+
{{dsc h2 | Character conversions }}
{{dcl list template | cpp/locale/dcl list toupper}}
+
{{dsc inc | cpp/locale/dcl list toupper}}
{{dcl list template | cpp/locale/dcl list tolower}}
+
{{dsc inc | cpp/locale/dcl list tolower}}
  
{{dcl list h2 | String and stream conversions }}
+
{{dsc h2 | String and stream conversions }}
{{dcl list template | cpp/locale/dcl list wstring_convert}}
+
{{dsc inc | cpp/locale/dcl list wstring_convert}}
{{dcl list template | cpp/locale/dcl list wbuffer_convert}}
+
{{dsc inc | cpp/locale/dcl list wbuffer_convert}}
  
{{dcl list h2 | Facet category base classes }}
+
{{dsc h2 | Facet category base classes }}
{{dcl list template | cpp/locale/dcl list ctype_base}}
+
{{dsc inc | cpp/locale/dcl list ctype_base}}
{{dcl list template | cpp/locale/dcl list codecvt_base}}
+
{{dsc inc | cpp/locale/dcl list codecvt_base}}
{{dcl list template | cpp/locale/dcl list messages_base}}
+
{{dsc inc | cpp/locale/dcl list messages_base}}
{{dcl list template | cpp/locale/dcl list time_base}}
+
{{dsc inc | cpp/locale/dcl list time_base}}
{{dcl list template | cpp/locale/dcl list money_base}}
+
{{dsc inc | cpp/locale/dcl list money_base}}
  
{{dcl list h2 | Facet categories }}
+
{{dsc h2 | Facet categories }}
{{dcl list template | cpp/locale/dcl list ctype}}
+
{{dsc inc | cpp/locale/dcl list ctype}}
{{dcl list template | cpp/locale/dcl list ctype_char}}
+
{{dsc inc | cpp/locale/dcl list ctype_char}}
{{dcl list template | cpp/locale/dcl list codecvt}}
+
{{dsc inc | cpp/locale/dcl list codecvt}}
{{dcl list template | cpp/locale/dcl list collate}}
+
{{dsc inc | cpp/locale/dcl list collate}}
{{dcl list template | cpp/locale/dcl list messages}}
+
{{dsc inc | cpp/locale/dcl list messages}}
{{dcl list template | cpp/locale/dcl list time_get}}
+
{{dsc inc | cpp/locale/dcl list time_get}}
{{dcl list template | cpp/locale/dcl list time_put}}
+
{{dsc inc | cpp/locale/dcl list time_put}}
{{dcl list template | cpp/locale/dcl list num_get}}
+
{{dsc inc | cpp/locale/dcl list num_get}}
{{dcl list template | cpp/locale/dcl list num_put}}
+
{{dsc inc | cpp/locale/dcl list num_put}}
{{dcl list template | cpp/locale/dcl list numpunct}}
+
{{dsc inc | cpp/locale/dcl list numpunct}}
{{dcl list template | cpp/locale/dcl list money_get}}
+
{{dsc inc | cpp/locale/dcl list money_get}}
{{dcl list template | cpp/locale/dcl list money_put}}
+
{{dsc inc | cpp/locale/dcl list money_put}}
{{dcl list template | cpp/locale/dcl list moneypunct}}
+
{{dsc inc | cpp/locale/dcl list moneypunct}}
  
{{dcl list h2 | Locale-specific facet categories }}
+
{{dsc h2 | Locale-specific facet categories }}
{{dcl list template | cpp/locale/dcl list ctype_byname}}
+
{{dsc inc | cpp/locale/dcl list ctype_byname}}
{{dcl list template | cpp/locale/dcl list ctype_byname_char}}
+
{{dsc inc | cpp/locale/dcl list ctype_byname_char}}
{{dcl list template | cpp/locale/dcl list codecvt_byname}}
+
{{dsc inc | cpp/locale/dcl list codecvt_byname}}
{{dcl list template | cpp/locale/dcl list messages_byname}}
+
{{dsc inc | cpp/locale/dcl list messages_byname}}
{{dcl list template | cpp/locale/dcl list collate_byname}}
+
{{dsc inc | cpp/locale/dcl list collate_byname}}
{{dcl list template | cpp/locale/dcl list time_get_byname}}
+
{{dsc inc | cpp/locale/dcl list time_get_byname}}
{{dcl list template | cpp/locale/dcl list time_put_byname}}
+
{{dsc inc | cpp/locale/dcl list time_put_byname}}
{{dcl list template | cpp/locale/dcl list numpunct_byname}}
+
{{dsc inc | cpp/locale/dcl list numpunct_byname}}
{{dcl list template | cpp/locale/dcl list moneypunct_byname}}
+
{{dsc inc | cpp/locale/dcl list moneypunct_byname}}
{{dcl list end}}
+
{{dsc end}}
  
 
=== Locale-independent unicode conversion facets ===
 
=== Locale-independent unicode conversion facets ===
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list header | codecvt }}
+
{{dsc header | codecvt }}
{{dcl list template | cpp/locale/dcl list codecvt_utf8}}
+
{{dsc inc | cpp/locale/dcl list codecvt_utf8}}
{{dcl list template | cpp/locale/dcl list codecvt_utf16}}
+
{{dsc inc | cpp/locale/dcl list codecvt_utf16}}
{{dcl list template | cpp/locale/dcl list codecvt_utf8_utf16}}
+
{{dsc inc | cpp/locale/dcl list codecvt_utf8_utf16}}
{{dcl list template | cpp/locale/dcl list codecvt_mode}}
+
{{dsc inc | cpp/locale/dcl list codecvt_mode}}
{{dcl list end}}
+
{{dsc end}}
  
 
=== C library locales ===
 
=== C library locales ===
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list header | clocale }}
+
{{dsc header | clocale }}
{{dcl list template | cpp/locale/dcl list setlocale}}
+
{{dsc inc | cpp/locale/dcl list setlocale}}
{{dcl list template | cpp/locale/dcl list LC_categories}}
+
{{dsc inc | cpp/locale/dcl list LC_categories}}
{{dcl list template | cpp/locale/dcl list localeconv}}
+
{{dsc inc | cpp/locale/dcl list localeconv}}
{{dcl list template | cpp/locale/dcl list lconv}}
+
{{dsc inc | cpp/locale/dcl list lconv}}
{{dcl list end}}
+
{{dsc end}}
  
 
[[ar:cpp/locale]]
 
[[ar:cpp/locale]]

Revision as of 19:07, 31 May 2013

 
 
 

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

Template:cpp/locale/dcl list localeTemplate:cpp/locale/dcl list use facetTemplate:cpp/locale/dcl list has facetTemplate:cpp/locale/dcl list isspaceTemplate:cpp/locale/dcl list isblankTemplate:cpp/locale/dcl list iscntrlTemplate:cpp/locale/dcl list isupperTemplate:cpp/locale/dcl list islowerTemplate:cpp/locale/dcl list isalphaTemplate:cpp/locale/dcl list isdigitTemplate:cpp/locale/dcl list ispunctTemplate:cpp/locale/dcl list isxdigitTemplate:cpp/locale/dcl list isalnumTemplate:cpp/locale/dcl list isprintTemplate:cpp/locale/dcl list isgraphTemplate:cpp/locale/dcl list toupperTemplate:cpp/locale/dcl list tolowerTemplate:cpp/locale/dcl list wstring convertTemplate:cpp/locale/dcl list wbuffer convertTemplate:cpp/locale/dcl list ctype baseTemplate:cpp/locale/dcl list codecvt baseTemplate:cpp/locale/dcl list messages baseTemplate:cpp/locale/dcl list time baseTemplate:cpp/locale/dcl list money baseTemplate:cpp/locale/dcl list ctypeTemplate:cpp/locale/dcl list ctype charTemplate:cpp/locale/dcl list codecvtTemplate:cpp/locale/dcl list collateTemplate:cpp/locale/dcl list messagesTemplate:cpp/locale/dcl list time getTemplate:cpp/locale/dcl list time putTemplate:cpp/locale/dcl list num getTemplate:cpp/locale/dcl list num putTemplate:cpp/locale/dcl list numpunctTemplate:cpp/locale/dcl list money getTemplate:cpp/locale/dcl list money putTemplate:cpp/locale/dcl list moneypunctTemplate:cpp/locale/dcl list ctype bynameTemplate:cpp/locale/dcl list ctype byname charTemplate:cpp/locale/dcl list codecvt bynameTemplate:cpp/locale/dcl list messages bynameTemplate:cpp/locale/dcl list collate bynameTemplate:cpp/locale/dcl list time get bynameTemplate:cpp/locale/dcl list time put bynameTemplate:cpp/locale/dcl list numpunct bynameTemplate:cpp/locale/dcl list moneypunct byname
Defined in header <locale>
Locales and facets
Character classification
Character conversions
String and stream conversions
Facet category base classes
Facet categories
Locale-specific facet categories

Locale-independent unicode conversion facets

Template:cpp/locale/dcl list codecvt utf8Template:cpp/locale/dcl list codecvt utf16Template:cpp/locale/dcl list codecvt utf8 utf16Template:cpp/locale/dcl list codecvt mode
Defined in header <codecvt>

C library locales

Template:cpp/locale/dcl list setlocaleTemplate:cpp/locale/dcl list LC categoriesTemplate:cpp/locale/dcl list localeconvTemplate:cpp/locale/dcl list lconv
Defined in header <clocale>