BloombergLP::bslma::TestAllocator::TestAllocator

Create an instrumented "test" allocator with the specified verboseFlag.

Synopsis

Declared in <bslma_testallocator.h>

explicit
TestAllocator(
    bool verboseFlag,
    Allocator* basicAllocator = 0);

Parameters

NameDescription
verboseFlagFlag indicating whether to report events verbosely.
basicAllocatorThe allocator used to supply memory.