[#BloombergLP-balst-StackTraceTestAllocator-allocationLimit] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::allocationLimit :relfileprefix: ../../../ :mrdocs: Return the current number of allocation requests left before an exception is thrown. A negative value indicates that no exception is scheduled. == Synopsis Declared in `<balst_stacktracetestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] allocationLimit() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#