Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8175,15 +8175,15 @@
follows:

\begin{itemize}
\item If an
initializer is specified for an enumerator, the
\grammarterm{constant-expression} shall be an integral constant
\item If the
\grammarterm{enumerator-definition} of an enumerator contains \tcode{=}, the
\grammarterm{constant-expression} following \grammarterm{enumerator} \tcode{=} shall be an integral constant
expression\iref{expr.const.const}. If the expression has
unscoped enumeration type, the enumerator has the underlying type of that
enumeration type, otherwise it has the same type as the expression.

\item If no initializer is specified for the
first enumerator, its type is an unspecified signed integral type.
\item If the \grammarterm{enumerator-definition} of the
first enumerator does not contain \tcode{=}, its type is an unspecified signed integral type.

\item Otherwise
the type of the enumerator is the same as that of the
Expand Down
Loading