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

Synopsis

Declared in <bslma_testallocator.h>

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

Parameters

Name

Description

name

The diagnostic name for this test allocator.

verboseFlag

Flag indicating whether to report events verbosely.

basicAllocator

The allocator used to supply memory.

Created with MrDocs