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
11 changes: 7 additions & 4 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8431,9 +8431,10 @@
it has reference or non-volatile const-qualified integral or enumeration type.

\pnum
A constant-initialized potentially-constant variable $V$ is
\defn{usable in constant expressions} at a point $P$ if
$V$'s initializing declaration $D$ is reachable from $P$ and
A variable $V$ is
\defnx{usable in constant expressions}{usable in constant expressions!variable} at a point $P$ if
$V$ is constant-initialized and potentially-constant,
$V$'s initializing declaration $D$ is reachable from $P$, and
\begin{itemize}
\item $V$ is constexpr,
\item $V$ is not initialized to a TU-local value, or
Expand All @@ -8458,7 +8459,9 @@
\item
a reference member of any of the above.
\end{itemize}
An object or reference is \defn{usable in constant expressions} at point $P$
An object or reference is
\defnx{usable in constant expressions}{usable in constant expressions!object or reference}
at point $P$
if it is an object or reference
that is potentially usable in constant expressions at $P$ and
is constexpr-representable at $P$.
Expand Down