[#BloombergLP-bdlcc-ObjectPool_GeneralProxy-2constructor-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool_GeneralProxy.adoc[ObjectPool_GeneralProxy]::ObjectPool_GeneralProxy :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlcc_objectpool.h>` Create a proxy holding a default‐constructed object of `TYPE`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlcc/ObjectPool_GeneralProxy/2constructor-03.adoc[ObjectPool_GeneralProxy](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/bdlcc/ObjectPool_GeneralProxy/2constructor-03.adoc[_» more..._]# Create a proxy holding a copy of the specified `other` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlcc/ObjectPool_GeneralProxy/2constructor-0c.adoc[ObjectPool_GeneralProxy]( TYPE const& other, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/bdlcc/ObjectPool_GeneralProxy/2constructor-0c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | allocator optionally supplied to `TYPE` | *other* | object used to copy‐construct the proxied value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#