BloombergLP::bslma::TestAllocator::lastAllocateAddress

Return the allocated memory address of the most recent memory request. Return 0 if the request was invalid (e.g., allocate non- positive number of bytes).

Synopsis

Declared in <bslma_testallocator.h>

void*
lastAllocateAddress() const;

Description

DEPRECATED: use lastAllocatedAddress instead.