[#BloombergLP-bslma-TestAllocator-lastAllocateAddress] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::lastAllocateAddress :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* lastAllocateAddress() const; ---- == Description DEPRECATED: use `lastAllocatedAddress` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#