BloombergLP::ball::CountingAllocator::CountingAllocator

Create a counting allocator having an initial byte count of 0. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <ball_countingallocator.h>

explicit
CountingAllocator(bslma::Allocator* basicAllocator = 0);