BloombergLP::bdlcc::ObjectPool_GeneralProxy::ObjectPool_GeneralProxy

Create a proxy holding a default-constructed object of TYPE.

Synopsis

Declared in <bdlcc_objectpool.h>

explicit
ObjectPool_GeneralProxy(bslma::Allocator* basicAllocator);

Description

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.

Parameters

NameDescription
basicAllocatorallocator optionally supplied to TYPE