[#BloombergLP-bslma-TestAllocator-status] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::status :relfileprefix: ../../../ :mrdocs: Return 0 on success, and non‐zero otherwise: If there have been any mismatched memory deallocations or over/under runs, return the number of such errors that have occurred as a positive number; if either `0 < numBlocksInUse()` or `0 < numBytesInUse()`, return an arbitrary negative number; else return 0. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int status() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#