[#BloombergLP-bslma-TestAllocator_ProxyBase]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::TestAllocator&lowbar;ProxyBase
:relfileprefix: ../../
:mrdocs:

This class provides a common base class for the parameterized `TestAllocator&lowbar;Proxy` class (below)&period; Note that the `virtual` `setAllocationLimit` method, although a &quot;setter&quot;, _must_ be declared `const`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TestAllocator&lowbar;ProxyBase;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/TestAllocator_ProxyBase/2destructor.adoc[`&#126;TestAllocator&lowbar;ProxyBase`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this proxy base object&period;
| xref:BloombergLP/bslma/TestAllocator_ProxyBase/setAllocationLimit.adoc[`setAllocationLimit`]  [.small]#[virtual]#
| Set the allocation limit on the proxied test allocator&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/TestAllocator_Proxy.adoc[`TestAllocator&lowbar;Proxy`] 
| This class provides a proxy to the test allocator that is supplied to the `BSLMA&lowbar;TESTALLOCATOR&lowbar;EXCEPTION&lowbar;TEST&lowbar;BEGIN` macro&period; This proxy may be instantiated with `TestAllocator`, or with a type that supports the same interface as `TestAllocator`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
