# std::ctype<char>::table

> C++ Atlas: `cppatlas.com/w/cpp/locale/ctype_char/table` | Source: https://en.cppreference.com/w/cpp/locale/ctype_char/table | Domain: Localization | Standards: C++11

Returns the classification table that was provided in the constructor of this instance of std::ctype<char>, or returns a copy of classic_table() if none was provided.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <locale>
const mask* table() const throw(); // (until C++11)
const mask* table() const noexcept; // (since C++11)
```

Returns the classification table that was provided in the constructor of this instance of `std::ctype<char>`, or returns a copy of `classic_table()` if none was provided.

### Parameters

(none)

### Return value

A pointer to the first element in the classification table (which an array of size `std::ctype<char>::table_size`).

### Example

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/locale/ctype_char/table (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.