Skip to content

Commit e201f33

Browse files
committed
[expr.const] Factor out some commonality from 'manifestly
constant-evaluated' and 'potentially constant evaluated'.
1 parent e58439b commit e201f33

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

source/expressions.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6904,8 +6904,8 @@
69046904
\item the initializer of a constexpr variable\iref{dcl.constexpr}, or
69056905
\item an immediate invocation, or
69066906
\item a \grammarterm{constraint-expression}\iref{temp.constr.decl}
6907-
(possibly one formed from the \grammarterm{constraint-logical-or-expression}
6908-
of a \grammarterm{requires-clause}), or
6907+
including one formed from the \grammarterm{constraint-logical-or-expression}
6908+
of a \grammarterm{requires-clause}, or
69096909
\item the initializer of a variable
69106910
that is usable in constant expressions or
69116911
has constant initialization.\footnote{Testing this condition
@@ -6940,15 +6940,10 @@
69406940

69416941
\begin{itemize}
69426942
\item
6943-
a potentially-evaluated expression\iref{basic.def.odr},
6944-
6945-
\item
6946-
an immediate invocation,
6943+
a manifestly constant-evaluated expression,
69476944

69486945
\item
6949-
a \grammarterm{constraint-expression},
6950-
including one formed from the \grammarterm{constraint-logical-or-expression}
6951-
of a \grammarterm{requires-clause},
6946+
a potentially-evaluated expression\iref{basic.def.odr},
69526947

69536948
\item
69546949
an immediate subexpression of a \grammarterm{braced-init-list},%

0 commit comments

Comments
 (0)