Difference between two "this" c++ -



Difference between two "this" c++ -

i want know difference between *this , this-> , when utilize it. think *this current object , this-> points current object.

this pointer current object. *this value pointer points to, current object. this-> shorthand (*this)., e.g. this->a same (*this).a.

c++

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -