Skip to content

Commit

Permalink
CWG2400 Constexpr virtual functions and temporary objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawn Perchik authored and zygoloid committed Aug 2, 2019
1 parent 9b76db5 commit 9824fd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6870,6 +6870,14 @@
for a constexpr function or
constexpr constructor\iref{dcl.constexpr};

\item
an invocation of a virtual function\iref{class.virtual}
for an object unless
\begin{itemize}
\item the object is usable in constant expressions or
\item its lifetime began within the evaluation of \tcode{e};
\end{itemize}

\item
an expression that would exceed the implementation-defined
limits (see \ref{implimits});
Expand Down

0 comments on commit 9824fd7

Please sign in to comment.