Namespaces
Variants
Views
Actions

Standard library header <clocale>

From cppreference.com
< cpp‎ | header
 
 
 

This header was originally in the C standard library as <locale.h>.

This header is part of the localization library

Contents

Types

formatting details, returned by std::localeconv
(class) [edit]

Constants

implementation-defined null pointer constant
(macro constant) [edit]
locale categories for std::setlocale
(macro constant) [edit]

Functions

gets and sets the current C locale
(function) [edit]
queries numeric and monetary formatting details of the current locale
(function) [edit]

[edit] Synopsis

namespace std {
  struct lconv;
 
  char* setlocale(int category, const char* locale);
  lconv* localeconv();
}
 
#define NULL /* see description */
#define LC_ALL /* see description */
#define LC_COLLATE /* see description */
#define LC_CTYPE /* see description */
#define LC_MONETARY /* see description */
#define LC_NUMERIC /* see description */
#define LC_TIME /* see description */

[edit] Notes