ctype_base


class
<locale>
class ctype_base;

Base class for ctype

This is not a facet type, but the base class that defines the mask bitmask member type to be inherited by facet class ctype:

1
2
3
4
5
6
7
8
class ctype_base {
public:
  enum mask {    // numeric values only as example of possible bitmask values:
    space=1<<0, print=1<<1, cntrl=1<<2, upper=1<<3, lower=1<<4,
    alpha=1<<5, digit=1<<6, punct=1<<7, xdigit=1<<8,
    alnum=alpha|digit, graph=alnum|punct
  };
};


See ctype::mask for a description of the meaning of each enum label in the ctype locale facet.