ctype_byname 类
派生的模板类描述可以充当特定区域设置 ctype (IDE),启用字符分类和转换。情况之间以及本机和区域设置以指定字符集中的一个对象。
template<class _Elem>
class ctype_byname : public ctype<_Elem>
{
public:
explicit ctype_byname(
const char *_Locname,
size_t _Refs = 0
);
explicit ctype_byname(
const string& _Locname,
size_t _Refs = 0
);
protected:
virtual __CLR_OR_THIS_CALL ~ctype_byname();
};
备注
命名区域设置行为取决于它的 _Locname。 各个构造函数初始化其与 ctype<CharType>(_Refs) 或等效的基对象基类的 ctype<char>。
要求
页眉: <区域设置>
命名空间: std