7 Constants and Enumerations

7.1 Constants

7.1.1 Syntax

constant access? const type-expr identifier = constant-expression ;

7.2 Enumerations

7.2.1 Syntax

enumerated-type access? enum identifier underlying-type? { enum-constants }
underlying-type : type-expr
enum-constants enum-constant (, enum-constant )*
enum-constant identifier (= constant-expression)?