BloombergLP::bslma::TestAllocator::TestAllocator

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

Synopsis

Declared in <bslma_testallocator.h>

explicit
TestAllocator(
    char const* name,
    Allocator* basicAllocator = 0);

Parameters

NameDescription
nameThe diagnostic name for this test allocator.
basicAllocatorThe allocator used to supply memory.