Original Post
🔒 Locked
this pointer
Advertisement
The this pointer is used in whatever situation an object need to identify or refer to itself. There are many situations when this is necessary, when overloading operators for instance.
Use it when you need to use it.
this->link might be useful.
Regards Mats
quote:
when to use this->pointer and when to not use it?
Use it when you need to use it.
this->link might be useful.
Regards Mats
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement