Skip to content
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

[expr.dynamic.cast] Remove redundant statements on casting away constness #1936

Merged
merged 1 commit into from Apr 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions source/expressions.tex
Expand Up @@ -2671,9 +2671,8 @@
result is an xvalue of the type referred to by \tcode{T}.

\pnum
If the type of \tcode{v} is the same as \tcode{T}, or it is
the same as \tcode{T} except that the class object type in \tcode{T} is
more cv-qualified than the class object type in \tcode{v}, the result is
If the type of \tcode{v} is the same as \tcode{T} (ignoring cv-qualifications),
the result is
\tcode{v} (converted if necessary).

\pnum
Expand All @@ -2693,8 +2692,7 @@
\tcode{v} can contain other \tcode{B} objects as base classes, but these
are ignored.}
In both the pointer and
reference cases, the program is ill-formed if \cvqual{cv2} has greater
cv-qualification than \cvqual{cv1} or if \tcode{B} is an inaccessible or
reference cases, the program is ill-formed if \tcode{B} is an inaccessible or
ambiguous base class of \tcode{D}.
\begin{example}

Expand Down