Namespaces
Variants

Standard library header <clocale>

From cppreference.net
Standard library headers

该头文件最初作为 <locale.h> 存在于C标准库中。

此头文件是 文本处理 库的组成部分。

目录

类型

格式化详细信息,由 std::localeconv 返回
(类)

常量

实现定义的空指针常量
(宏常量)
std::setlocale 的区域设置类别
(宏常量)

函数

获取和设置当前 C 区域设置
(函数)
查询当前区域设置的数值和货币格式化详细信息
(函数)

概要

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

注释