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

Return, by value, a test allocator proxy for the specified parameterized `allocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class BSLMA&lowbar;ALLOC&lowbar;TYPE&gt;
xref:BloombergLP/bslma/TestAllocator_Proxy.adoc[TestAllocator&lowbar;Proxy&lt;BSLMA&lowbar;ALLOC&lowbar;TYPE&gt;]
TestAllocator&lowbar;getProxy(BSLMA&lowbar;ALLOC&lowbar;TYPE* allocator);
----

== Return Value

test allocator proxy wrapping `allocator`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| The test allocator to wrap in a proxy&period;
|===


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