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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -