Skip to content

P1327R1 Allowing dynamic_cast, polymorphic typeid in Constant Express… #2445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2018
Merged
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: 3 additions & 8 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6626,9 +6626,6 @@
\item
a conversion from type \cv{}~\tcode{void*} to a pointer-to-object type;

\item
a dynamic cast\iref{expr.dynamic.cast};

\item
a \tcode{reinterpret_cast}\iref{expr.reinterpret.cast};

Expand All @@ -6642,10 +6639,6 @@
that refers to a non-volatile object
whose lifetime began within the evaluation of \tcode{e};

\item
a typeid expression\iref{expr.typeid} whose operand is a glvalue of a
polymorphic class type;

\item
a \grammarterm{new-expression}\iref{expr.new};

Expand All @@ -6662,7 +6655,9 @@
operator where the result is unspecified;

\item
a \grammarterm{throw-expression}\iref{expr.throw}; or
a \grammarterm{throw-expression}\iref{expr.throw} or
a dynamic cast\iref{expr.dynamic.cast} or \tcode{typeid}\iref{expr.typeid} expression
that would throw an exception; or

\item
an invocation of the \tcode{va_arg} macro\iref{cstdarg.syn}.
Expand Down