[#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&period; Return 0 if the request was invalid (e&period;g&period;, allocate non&hyphen; positive number of bytes)&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
lastAllocateAddress() const;
----

== Description

DEPRECATED&colon; use `lastAllocatedAddress` instead&period;

== Return Value

address of the most recent allocation, or 0 if invalid


[.small]#Created with https://www.mrdocs.com[MrDocs]#
