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

Synopsis

Declared in <bslma_testallocator.h>

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

Parameters

Name

Description

name

The diagnostic name for this test allocator.

basicAllocator

The allocator used to supply memory.

Created with MrDocs