std::allocator::address
std::allocator::address
pointer address( reference x ) const; | (deprecated since C++17) | |
const_pointer address( const_reference x ) const; | (deprecated since C++17) |
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
(none) | (until C++11) |
noexcept specification: noexcept | (since C++11) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/allocator/address