Skip to content

Commit af02945

Browse files
committed
Add a this pointer illustration to inheritance chapter.
1 parent a2a5035 commit af02945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

talk/objectorientation/inheritance.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
\memorypush{a = 2}
4343
\memorypush{b = 5}
4444
\memorystruct{1}{2}{\tiny myobj2}
45+
\draw[-Triangle,thick] (\stacksizex-1*\stacksizey,-1*\stacksizey) node[left] {\footnotesize \mintinline{cpp}{this} pointer} -- (\stacksizex,-0.1*\stacksizey);
4546
\end{tikzpicture}
4647
\end{overprint}
4748
\vfill \null

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy