Skip to content

Commit 19caa61

Browse files
frederick-vs-jajensmaurer
authored andcommitted
[mem.res.private] Say *this instead of improper this
1 parent 8238252 commit 19caa61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/memory.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5735,10 +5735,10 @@
57355735
\begin{itemdescr}
57365736
\pnum
57375737
\returns
5738-
A derived class shall implement this function to return \tcode{true} if memory allocated from \keyword{this} can be deallocated from \tcode{other} and vice-versa,
5738+
A derived class shall implement this function to return \tcode{true} if memory allocated from \tcode{*this} can be deallocated from \tcode{other} and vice-versa,
57395739
otherwise \tcode{false}.
57405740
\begin{note}
5741-
It is possible that the most-derived type of \tcode{other} does not match the type of \keyword{this}.
5741+
It is possible that the most-derived type of \tcode{other} does not match the type of \tcode{*this}.
57425742
For a derived class \tcode{D}, an implementation of this function
57435743
can immediately return \tcode{false}
57445744
if \tcode{dynamic_cast<const D*>(\&other) == nullptr}.

0 commit comments

Comments
 (0)