diff --git a/source/declarations.tex b/source/declarations.tex index 1c896f425c..fbf60e4e59 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -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