[#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 new proxy and a new object of the parameterized `TYPE`. If `TYPE` declares the "Uses Allocator" trait, the specified `basicAllocator` is supplied to its default constructor; otherwise `basicAllocator` is ignored. [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 new proxy and a new object constructed from the specified `other` object. If `TYPE` declares the "Uses Allocator" trait, the specified `basicAllocator` is supplied to its copy constructor; otherwise `basicAllocator` is ignored. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#