[#BloombergLP-balst-StackTraceTestAllocator-numAllocations] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::numAllocations :relfileprefix: ../../../ :mrdocs: Return the number of allocations from this object that have occurred since creation. Note that this does not count allocations of 0 length, which return null pointers. == Synopsis Declared in `<balst_stacktracetestallocator.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]#