[#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. Note that this number is always recorded regardless of the validity of the request. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator/size_type.adoc[TestAllocator::size_type] lastAllocateNumBytes() const; ---- == Description DEPRECATED: use `lastAllocatedNumBytes` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#