15.1 — The hidden “this” pointer and member function chaining
One of the questions about classes that new programmers often ask is, “When a member function is called, how does C++ keep track of which object it was called on?”. First, let’s define a simple class to work with. This class encapsulates an integer value, and provides some access functions … Continue reading 15.1 — The hidden “this” pointer and member function chaining
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed