BloombergLP::bslma::TestAllocator::numDeallocations

Return the cumulative number of deallocation requests.

Synopsis

Declared in <bslma_testallocator.h>

bsls::Types::Int64
numDeallocations() const;

Description

Return the cumulative number of deallocation requests. Note that this number is incremented for every deallocate invocation, regardless of the validity of the request.

Return Value

cumulative number of deallocation requests