We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8732b6f commit 0773d07Copy full SHA for 0773d07
source/expressions.tex
@@ -5431,10 +5431,14 @@
5431
5432
\begin{itemize}
5433
\item if \tcode{T1} and \tcode{T2} are the same class type
5434
-(ignoring cv-qualification), or one is a base class of the other, and
+(ignoring cv-qualification) and
5435
\tcode{T2} is at least as cv-qualified as \tcode{T1},
5436
the target type is \tcode{T2},
5437
5438
+\item otherwise, if \tcode{T2} is a base class of \tcode{T1},
5439
+the target type is \cvqual{cv1} \tcode{T2}, where \cvqual{cv1}
5440
+denotes the cv-qualifiers of \tcode{T1},
5441
+
5442
\item otherwise, the target type is the type that \tcode{E2} would have
5443
after applying the
5444
lvalue-to-rvalue\iref{conv.lval},
0 commit comments