C++ Locale 库 - category
描述
它是一个语言环境类别,此成员类型描述了一个方面的类别。
声明
以下是 std::locale::category 的声明。
C++98
typedef int category;
C++11
typedef int category;
参数
none
返回值
none
| category | facets |
|---|---|
| locale::collate | collate |
| locale::ctype | ctype, codecvt |
| locale::monetary | moneypunct, money_get, money_put |
| locale::numeric | numpunct, num_get, num_put |
| locale::time | time_get, time_put |
| locale::messages | messages |
| locale::all | all of the above |
| locale::none | none of the above (defined as 0). |

