16 Library introduction [library]

16.3 Method of description [description]

16.3.3 Other conventions [conventions]

16.3.3.3 Type descriptions [type.descriptions]

16.3.3.3.2 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.130
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.
130)130)
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.