Export (0) Print
Expand All

addressof

Visual Studio 2013

Gets the true address of an object.

template<class T> T* addressof(
    T& Val
);

Val

The object or function for which to obtain the true address.

The actual address of the object or function referenced by Val, even if an overloaded operator&() exists.

Header: <memory>

Namespace: std

Show:
© 2014 Microsoft