[#bsl-_STLP_alloc_proxy-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/_STLP_alloc_proxy.adoc[&lowbar;STLP&lowbar;alloc&lowbar;proxy]::&lowbar;STLP&lowbar;alloc&lowbar;proxy
:relfileprefix: ../../
:mrdocs:

Create a proxy holding the specified allocator and data value&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;alloc&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;STLP&lowbar;alloc&lowbar;proxy(
    &lowbar;MaybeReboundAlloc const& &lowbar;&lowbar;a,
    &lowbar;Value &lowbar;&lowbar;p);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;a*
| allocator stored in this proxy
| *&lowbar;&lowbar;p*
| initial value for `&lowbar;M&lowbar;data`
|===


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