Return the number of mismatched memory deallocations.
Synopsis
Declared in <bslma_testallocator.h>
bsls::Types::Int64
numMismatches() const;
Description
Return the number of mismatched memory deallocations that have occurred since this object was created. A memory deallocation is mismatched if that memory was not allocated directly from this allocator.
Return Value
number of mismatched memory deallocations
Created with MrDocs