We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef668df commit d7c37a0Copy full SHA for d7c37a0
source/expressions.tex
@@ -7326,7 +7326,7 @@
7326
\pnum
7327
A variable is \defn{potentially-constant} if
7328
it is constexpr or
7329
-it has reference or const-qualified integral or enumeration type.
+it has reference or non-volatile const-qualified integral or enumeration type.
7330
7331
7332
A constant-initialized potentially-constant variable $V$ is
@@ -7937,9 +7937,7 @@
7937
that is potentially constant evaluated, or
7938
7939
\item
7940
-a variable named by a potentially constant evaluated expression
7941
-that is either a constexpr variable or
7942
-is of non-volatile const-qualified integral type or of reference type.
+a potentially-constant variable named by a potentially constant evaluated expression.
7943
\end{itemize}
7944
7945
\indextext{expression|)}
0 commit comments