public member function
<locale>

std::ctype::table

protected:const mask* table() const throw();    // only defined for ctype<char>
public:const mask* table() const noexcept;   // only defined for ctype<char>
Get category table
Returns a pointer to an array of mask elements where each element describes the categories of the character whose value matches its order position in the array.

This array is selected on construction: it is either passed explicitly as first argument, or (if this argument is a null pointer) is set to the default classic_table.

Parameters

none

Return value

A pointer to the first element in the array of mask elements.

Member type mask is a bitmask type (inherited from ctype_base).

Data races

The object is accessed.

Exception safety

No-throw guarantee: never throws exceptions.

See also