OOP in C++: Using the this Pointer & const Members
When a member function is invoked on a particular object that object is known as the receiver. Within the body of the member function you can access the member variables of the receiver using the "this" pointer. In this course discover how the this pointer works and practice using it to access states. Next learn about constness in object-oriented programming and the restrictions for what such methods can do. Finally learn how to use the mutable keyword to mitigate constness. After completion of the course you’ll be able to access member variables from within member functions create const and non-const objects and functions and use the mutable specification to identify states that can be changed without changing the meaning of the object.