BloombergLP::bslma::StdTestAllocator::address

Return the address of the object referred to by the specified x.

Synopsis

Declared in <bslma_stdtestallocator.h>

StdTestAllocator<TYPE>::pointer
address(reference x) const;

Description

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

Return Value

pointer to x

Parameters

NameDescription
xThe object whose address is returned.