Construct a new rep object that, upon release, will invoke the specified objectResetter and return itself to the specified pool; then invoke objectCreator to construct an object of TYPE embedded within the new rep object. Use the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdlcc_sharedobjectpool.h>

template<class CREATOR>
SharedObjectPool_Rep(
    CREATOR* objectCreator,
    bslalg::ConstructorProxy<RESETTER> const& objectResetter,
    PoolType* pool,
    bslma::Allocator* basicAllocator);

Created with MrDocs