bsl::allocator<void>::address

Return the address of the specified object x.

Synopsis

Declared in <bslma_bslallocator.h>

pointer
address(reference x) const;

Description

Return the address of the object referred to by the specified x reference, even if the (template parameter) TYPE overloads the unary operator&.

Return Value

pointer to x

Parameters

NameDescription
xobject whose address is returned