Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
addressof

addressof

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:
© 2015 Microsoft