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>

int
status() const;

Created with MrDocs