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

Name

Description

basicAllocator

allocator optionally supplied to TYPE

Created with MrDocs