Suppose I have:
void function1( Type* object ); //whatever implementation
void function2( Type& object )
{
function1( &object );
}
supposing Type
doesn't have an overloaded operator &()
will this construct - using operator &
on a reference - obtain the actual address of the object (variable of Type
type) on all decently standard-compliant C++ compilers?