explicit ctype_byname(const char*, size_t refs = 0);
The facet ctype has several responsibilities:
For a full and complete description of this facet specialization see Ctype_byname Constructor which list the process in greater detail.