[#BloombergLP-bslma-TestAllocator_ProxyBase] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::TestAllocator_ProxyBase :relfileprefix: ../../ :mrdocs: 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`. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TestAllocator_ProxyBase; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/TestAllocator_ProxyBase/2destructor.adoc[`~TestAllocator_ProxyBase`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this proxy base object. | xref:BloombergLP/bslma/TestAllocator_ProxyBase/setAllocationLimit.adoc[`setAllocationLimit`] [.small]#[virtual]# | Set the allocation limit on the proxied test allocator. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/TestAllocator_Proxy.adoc[`TestAllocator_Proxy`] | This class provides a proxy to the test allocator that is supplied to the `BSLMA_TESTALLOCATOR_EXCEPTION_TEST_BEGIN` macro. This proxy may be instantiated with `TestAllocator`, or with a type that supports the same interface as `TestAllocator`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#