16 Library introduction [library]

16.4 Method of description [description]

16.4.2 Other conventions [conventions]

16.4.2.2 Type descriptions [type.descriptions]

16.4.2.2.3 Enumerated types [enumerated.types]

Several types defined in [input.output] are enumerated types.
Each enumerated type may be implemented as an enumeration or as a synonym for an enumeration.157
The enumerated type enumerated can be written:
enum enumerated { V0, V1, V2, V3,  };

inline const enumerated C0(V0);
inline const enumerated C1(V1);
inline const enumerated C2(V2);
inline const enumerated C3(V3);
  ⋮
Here, the names C0, C1, etc. represent enumerated elements for this particular enumerated type.
All such elements have distinct values.
Such as an integer type, with constant integer values ([basic.fundamental]).
тое
Morty Proxy This is a proxified and sanitized view of the page, visit original site.