Same as the preceding overload, using the specified growBy.

Synopsis

Declared in <bdlcc_sharedobjectpool.h>

SharedObjectPool(
    CREATOR const& objectCreator,
    int growBy,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

objectCreator

creator used to construct pooled objects

growBy

replenishment increment or geometric seed (must not be 0)

basicAllocator

allocator used to supply memory

Created with MrDocs