Skip to content

Commit 120f503

Browse files
committed
[dcl.enum] Use more natural and unambiguous phrasing around the
definition of whether an enumeration type's underlying type is fixed.
1 parent 61e6eab commit 120f503

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/declarations.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,9 +1892,9 @@
18921892
\indextext{\idxcode{enum}!underlying~type}%
18931893
Each enumeration defines a type that is different from all other types.
18941894
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
18981898
\term{fixed}.
18991899
Following the closing brace of an \grammarterm{enum-specifier}, each
19001900
enumerator has the type of its enumeration.
@@ -1937,7 +1937,6 @@
19371937
\grammarterm{enum-specifier}, at which point it becomes a complete type.
19381938

19391939
\pnum
1940-
\indextext{type!enumeration underlying}%
19411940
For an enumeration whose underlying type is not fixed,
19421941
the underlying type
19431942
is an

0 commit comments

Comments
 (0)