Hello, I am trying to have the constructor for a class use the address of the object being created..
e.g.
how do I do that? &this doesn't work.Code:class test { test() { someFn(&this_object); } } test hello;
thanks
Edit: this is an address, so no need for the ampersand. Problem solved.