[#BloombergLP-bslma-TestAllocatorStashedStatistics-numAllocations] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocatorStashedStatistics.adoc[TestAllocatorStashedStatistics]::numAllocations :relfileprefix: ../../../ :mrdocs: Return the `numAllocations` attribute value. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] numAllocations() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#