Skip to content

Commit 3dc8068

Browse files
[class.access.base] Use "pointer to cv D/B"
1 parent 0e1dc79 commit 3dc8068

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/classes.tex

Lines changed: 4 additions & 4 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 is of type \cv{}~\tcode{D*} (or \cv{}~\tcode{D} in the
4769-
``\tcode{.}''
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*}.
4768+
left operand is of type ``pointer to \cv{}~\tcode{D}'' (or \cv{}~\tcode{D}
4769+
in the ``\tcode{.}'' operator case), the naming class of the right operand is
4770+
\cv{}~\tcode{B}, and a prvalue of type ``pointer to \tcode{D}'' cannot be
4771+
implicitly converted to ``pointer 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)