Can someone please explain this to me
dynamic_cast<SomeObject *>( &(*similarObject) );
What is the point of doing the address of a dereferenced pointer? Wouldn’t the pointer itself just be the address of it?
Can someone please explain this to me
dynamic_cast<SomeObject *>( &(*similarObject) );
What is the point of doing the address of a dereferenced pointer? Wouldn’t the pointer itself just be the address of it?