[#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. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator/size_type.adoc[Allocator::size_type] lastAllocatedNumBytes() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#