BloombergLP::bdlcc::SkipList_PoolUtil::createPoolManager

Create a new pooled node allocator that manages nodes up to the specified numLevels as described by the specified objectSizes. For i in [0, numLevels)], a node at level i will have size objectSizes[i] bytes. Use the specified basicAllocator to supply memory. Return the address of the new allocator. Note that the behavior is undefined if basicAllocator is 0.

Synopsis

Declared in <bdlcc_skiplist.h>

static
PoolManager*
createPoolManager(
    int* objectSizes,
    int numLevels,
    bslma::Allocator* basicAllocator);