std::ctype<char>::ctype
Defined in header <locale> | | |
|---|---|---|
explicit ctype( const mask* tbl = 0, bool del = false, std::size_t refs = 0); | | |
创建std::ctype<char>方面并转发起始参考计数。refs到基类构造函数,locale::facet::facet()...
如果tbl是空的,classic_table()由所有分类成员函数使用。否则,tbl必须是指向掩码数组的第一个元素的指针,至少std::ctype<char>::table_size在大小上,该数组由所有这个方面%27s分类成员函数使用。
如果del是true,则假定数组是在new[],这个方面的析构函数将调用delete[] tbl...
参数
tbl | - | classification table to use or a null pointer |
|---|---|---|
del | - | indicator whether the table needs to be deleted. |
refs | - | starting reference count |
例
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

