Return the address supplied to the most recent deallocation request.
Synopsis
Declared in <bslma_testallocator.h>
void*
lastDeallocatedAddress() const;
Description
Return the address that was supplied to the most recent deallocation request. Return 0 if a null pointer was most recently deallocated. Note that the address is always recorded regardless of the validity of the request.
Return Value
address from the most recent deallocation, or 0 if null
Created with MrDocs