Skip to content

Commit fda0b03

Browse files
jensmaurertkoeppe
authored andcommitted
[expr.dynamic.cast] Remove redundant specification of value category for a dynamic_cast to reference type. (#1024)
Fixes #450.
1 parent 16e5d80 commit fda0b03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/expressions.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,8 +1971,7 @@
19711971
\footnote{The most derived object~(\ref{intro.object}) pointed or referred to by
19721972
\tcode{v} can contain other \tcode{B} objects as base classes, but these
19731973
are ignored.}
1974-
The result is an lvalue if \tcode{T} is an lvalue reference, or an
1975-
xvalue if \tcode{T} is an rvalue reference. In both the pointer and
1974+
In both the pointer and
19761975
reference cases, the program is ill-formed if \cvqual{cv2} has greater
19771976
cv-qualification than \cvqual{cv1} or if \tcode{B} is an inaccessible or
19781977
ambiguous base class of \tcode{D}.

0 commit comments

Comments
 (0)