C++ suggest change

The this pointer

The this pointer is a keyword for C++ therfore there is no library needed to implement this. And do not forget this is a pointer! So you cannot do:

this.someMember();

As you access member functions or member variables from pointers using the arrow symbol -> :

this->someMember();

Other helpful links to the better understanding of the this pointer:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Table Of Contents
50 The this pointer
63 RAII
85 RTTI
  ↑ ↓ to navigate     ↵ to select     Esc to close