Namespaces
Variants

std::ctype <char> :: table

From cppreference.net
定义于头文件 <locale>
const mask * table ( ) const throw ( ) ;
(C++11 前)
const mask * table ( ) const noexcept ;
(C++11 起)

返回在此 std:: ctype < char > 实例构造函数中提供的分类表,若未提供则返回 classic_table() 的副本。

参数

(无)

返回值

指向分类表中第一个元素的指针(该表是一个大小为 std::ctype<char>::table_size 的数组)。

示例