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

Name

Description

x

object whose address is returned

Created with MrDocs