[#BloombergLP-bslma-TestAllocator-lastAllocatedNumBytes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::lastAllocatedNumBytes
:relfileprefix: ../../../
:mrdocs:

Return the number of bytes of the most recent allocation request&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator/size_type.adoc[Allocator::size&lowbar;type]
lastAllocatedNumBytes() const;
----

== Return Value

byte count of the most recent allocation request


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