首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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分类成员函数使用。

如果deltrue,则假定数组是在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

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券