[#BloombergLP-bslma-TestAllocator-lastAllocatedAddress] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::lastAllocatedAddress :relfileprefix: ../../../ :mrdocs: Return the address that was returned by the most recent allocation request. Return 0 if the most recent allocation request was for 0 bytes. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* lastAllocatedAddress() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#