Namespaces
Variants
Views
Actions

std::allocator::address

From cppreference.com
< cpp‎ | memory‎ | allocator
Revision as of 20:12, 31 May 2013 by P12bot (Talk | contribs)

pointer address( reference x ) const;
const_pointer address( const_reference x ) const;

Returns the actual address of x even in presence of overloaded operator&.

Parameters

x - the object to acquire address of

Return value

The actual address of x.

Exceptions

noexcept specification:  
noexcept