Brian
0
Q:

self in c++

// Using the * operator to get the actual instance
auto result = (*this).do_something();

// Using the -> operator to dereference and get/invoke member simultaneously
auto result = this->do_something();
2

New to Communities?

Join the community