Namespaces
Variants
Actions

Standard library header <clocale>

From cppreference.com
< cpp‎ | header
 
 
Standard library headers
<cuchar> (C++11)
<string_view> (C++17)
<clocale>
<codecvt> (C++11/17/26*)
<regex> (C++11)
<text_encoding> (C++26)   
<cfenv> (C++11)
<linalg> (C++26)
<numbers> (C++20)
<random> (C++11)
<simd> (C++26)
<stdckdint.h> (C++26)
<chrono> (C++11)
<ccomplex> (C++11/17/20*)
<ciso646> (until C++20)
<cstdalign> (C++11/17/20*)
<cstdbool> (C++11/17/20*)
<ctgmath> (C++11/17/20*)
 

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

This header is part of the text processing library.

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

Constants

implementation-defined null pointer constant
(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

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/header/clocale&oldid=180067"

AltStyle によって変換されたページ (->オリジナル) /