File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 18921892\indextext {\idxcode {enum}!underlying~type}%
18931893Each enumeration defines a type that is different from all other types.
18941894Each enumeration also has an underlying type.
1895- The underlying type can be explicitly specified using \grammarterm {enum-base};
1896- if not explicitly specified , the underlying type of a scoped enumeration type
1897- is \tcode {int} . In these cases, the underlying type is said to be
1895+ The underlying type can be explicitly specified using an \grammarterm {enum-base}.
1896+ For a scoped enumeration type , the underlying type is \tcode {int} if it is not
1897+ explicitly specified . In both of these cases, the underlying type is said to be
18981898\term {fixed}.
18991899Following the closing brace of an \grammarterm {enum-specifier}, each
19001900enumerator has the type of its enumeration.
19371937\grammarterm {enum-specifier}, at which point it becomes a complete type.
19381938
19391939\pnum
1940- \indextext {type!enumeration underlying}%
19411940For an enumeration whose underlying type is not fixed,
19421941the underlying type
19431942is an
You can’t perform that action at this time.
0 commit comments