Skip to content

Commit 0e1dc79

Browse files
[class.access.base] No cv-qualification for access checking
1 parent a417ade commit 0e1dc79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/classes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4765,10 +4765,10 @@
47654765
``\tcode{this->}'',
47664766
is used to access a non-static data member or non-static
47674767
member function, the reference is ill-formed if the
4768-
left operand (considered as a pointer in the
4768+
left operand is of type \cv{}~\tcode{D*} (or \cv{}~\tcode{D} in the
47694769
``\tcode{.}''
4770-
operator case) cannot be implicitly converted to a
4771-
pointer to the naming class of the right operand.
4770+
operator case), the naming class of the right operand is \cv{}~\tcode{B},
4771+
and a prvalue of type \tcode{D*} cannot be implicitly converted to \tcode{B*}.
47724772
\begin{note}
47734773
This requirement is in addition to the requirement that
47744774
the member be accessible as named.

0 commit comments

Comments
 (0)