generic (1) | explicit ctype (size_t refs = 0); // generic ctype constructor |
---|---|
char specialization (2) | explicit ctype (const mask* tab = 0, // constructor for ctype<char> bool del = false, size_t refs = 0); |
char
instantiations)char
specialization (only for ctype<char>
)char
specialization of ctype takes additional arguments to allow for optional custom character tables, and also calls the constructor of its base class locale::facet.true
, the destructor will automatically delete the table passed as first argument, so that the program needs not to care about the facet's lifetime.value | description |
---|---|
0 | The object is automatically deleted when the last locale containing this facet is destroyed. |
1 | The object is not automatically deleted. |