typedef int category;
static const category none, collate, ctype, monetary,
numeric, time, messages, all;
The type is a synonym for int, so that it can represent any of the C locale categories. It can also represent a group of
constants local to class locale:
LC_COLLATELC_CTYPELC_MONETARYLC_NUMERICLC_TIMELC_MESSAGELC_ALLYou can represent an arbitrary group of categories by ORing these constants, as in monetary | time.