BloombergLP::bslma::TestAllocator::numAllocation

Return the cumulative number of allocation requests.

Synopsis

Declared in <bslma_testallocator.h>

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

Description

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

DEPRECATED: use numAllocations instead.

Return Value

cumulative number of allocation requests