std::allocator<T>::address (3) - Linux Manuals

std::allocator<T>::address: std::allocator<T>::address

NAME

std::allocator<T>::address - std::allocator<T>::address

Synopsis


pointer address( reference x ) const; (deprecated in C++17)
                                                   (removed in C++20)
const_pointer address( const_reference x ) const; (deprecated in C++17)
                                                   (removed in C++20)


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: (since C++11)
noexcept