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

Return the number of bytes of the most recent memory request&period; Note that this number is always recorded regardless of the validity of the 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[TestAllocator::size&lowbar;type]
lastAllocateNumBytes() const;
----

== Description

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

== Return Value

byte count of the most recent memory request


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