I\'ve recently came across this strange function in some class:
void* getThis() {return this;}
And later in the code it is sometimes used like
Your class can have custom operator& (so &a may not return this of a). That's why std::addressof exists.
operator&
&a
this
a