std::ctype<char>::ctype
From cppreference.com
< cpp | locale | ctype char
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::ctype
| Member functions | ||||
| Member functions of ctype<char> | ||||
ctype<char>::ctype | ||||
Defined in header <locale>
|
||
|
explicit ctype(
const mask* tbl =
0, bool del =
false, std::size_t refs =
0
)
;
|
||
Creates a std::ctype<char> facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet()
If tbl is null, classic_table() is used by all classification member functions. Otherwise, tbl must be a pointer to the first element of an array of masks, at least std::ctype < char > :: table_size
If del is true, it is assumed that the array was allocated with new[], and the destructor of this facet will call delete[] tbl
Parameters
| tbl | - | classification table to use or a null pointer |
| del | - | indicator whether the table needs to be deleted |
| refs | - | starting reference count |
Example
| This section is incomplete Reason: no example |