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 a417ade commit 0e1dc79Copy full SHA for 0e1dc79
source/classes.tex
@@ -4765,10 +4765,10 @@
4765
``\tcode{this->}'',
4766
is used to access a non-static data member or non-static
4767
member function, the reference is ill-formed if the
4768
-left operand (considered as a pointer in the
+left operand is of type \cv{}~\tcode{D*} (or \cv{}~\tcode{D} in the
4769
``\tcode{.}''
4770
-operator case) cannot be implicitly converted to a
4771
-pointer to the naming class of the right operand.
+operator case), the naming class of the right operand is \cv{}~\tcode{B},
+and a prvalue of type \tcode{D*} cannot be implicitly converted to \tcode{B*}.
4772
\begin{note}
4773
This requirement is in addition to the requirement that
4774
the member be accessible as named.
0 commit comments