enum { DEFAULT, BETTER, BEST = 12 } foo_t; foo_t f(foo_t arg) { return foo_t; } This type plugin is a helper for making enumerated types. It makes the most sense to use this when you have an ...
Enumerated types can be defined with an 'enum base type' and the individual name declarations can be assigned integral numerical values. This, along with static type casting, makes enums an attractive ...