[#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&period; Return 0 if the most recent allocation request was for 0 bytes&period;

== Synopsis

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

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

== Return Value

address from the most recent allocation, or 0 if for 0 bytes


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