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 1892
1892
\indextext {\idxcode {enum}!underlying~type}%
1893
1893
Each enumeration defines a type that is different from all other types.
1894
1894
Each 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
1898
1898
\term {fixed}.
1899
1899
Following the closing brace of an \grammarterm {enum-specifier}, each
1900
1900
enumerator has the type of its enumeration.
1937
1937
\grammarterm {enum-specifier}, at which point it becomes a complete type.
1938
1938
1939
1939
\pnum
1940
- \indextext {type!enumeration underlying}%
1941
1940
For an enumeration whose underlying type is not fixed,
1942
1941
the underlying type
1943
1942
is an
You can’t perform that action at this time.
0 commit comments