[#BloombergLP-bdlcc-ObjectPool_DefaultProxy-2constructor-047]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy.adoc[ObjectPool&lowbar;DefaultProxy]::ObjectPool&lowbar;DefaultProxy
:relfileprefix: ../../../
:mrdocs:

Create a proxy for a newly created function object constructed from the specified `rhs` creator&period; Use the specified `basicAllocator` to supply memory&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;objectpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ObjectPool&lowbar;DefaultProxy(
    xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy.adoc[Creator] const& rhs,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----


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