BloombergLP::bslma::TestAllocator_ProxyBase

Common base class for TestAllocator_Proxy.

Synopsis

Declared in <bslma_testallocator.h>

class TestAllocator_ProxyBase;

Description

This class provides a common base class for the parameterized TestAllocator_Proxy class (below). Note that the virtual setAllocationLimit method, although a "setter", must be declared const.

Member Functions

NameDescription
~TestAllocator_ProxyBase [destructor] [virtual]Destroy this proxy base object.
setAllocationLimit [virtual]Set the allocation limit on the proxied test allocator.

Derived Classes

NameDescription
TestAllocator_Proxy Proxy for a test allocator used by exception-test macros.