名前空間
変種
操作

標準ライブラリヘッダー <clocale>

From cppreference.com
 
 
標準ライブラリヘッダー
アルゴリズム
<algorithm>
<numeric>
文字列
<cctype>
<cstring>
<cuchar> (C++11)
<cwchar>
<cwctype>
<string_view> (C++17)
<string>
テキスト処理
<clocale>
<codecvt> (C++11/17/26*)
<locale>
<regex> (C++11)
<text_encoding> (C++26)   
数値
<cfenv> (C++11)
<cmath>
<complex>
<linalg> (C++26)
<numbers> (C++20)
<random> (C++11)
<simd> (C++26)
<valarray>
時間
<chrono> (C++11)
<ctime>
C互換
<ccomplex> (C++11/17/20*)
<ciso646> (C++20 まで)
<cstdalign> (C++11/17/20*)
<cstdbool> (C++11/17/20*)
<ctgmath> (C++11/17/20*)
 

このヘッダーは、元々C標準ライブラリの <locale.h> として存在していました。

このヘッダーはテキスト処理ライブラリの一部です。

目次

std::localeconv によって返される、書式設定の詳細
(クラス) [編集]

定数

処理系定義のヌルポインタ定数
(マクロ定数) [編集]
std::setlocale のロケールカテゴリ
(マクロ定数) [編集]

関数

現在のCロケールを取得および設定する
(関数) [編集]
現在のロケールの数値と通貨の書式設定の詳細を問い合わせる
(関数) [編集]

[編集] 概要

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 */

[編集] 注記

English 日本語 中文(简体) 中文(繁體)