BloombergLP::bdlcc::ObjectPool_GeneralProxy::ObjectPool_GeneralProxy

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.

explicit
ObjectPool_GeneralProxy(bslma::Allocator* basicAllocator);
» 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.

ObjectPool_GeneralProxy(
    TYPE const& other,
    bslma::Allocator* basicAllocator);
» more...