[#BloombergLP-bdlcc-SkipList_PoolUtil-createPoolManager] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList_PoolUtil.adoc[SkipList_PoolUtil]::createPoolManager :relfileprefix: ../../../ :mrdocs: Create a pooled node allocator for up to `numLevels` levels. == Synopsis Declared in `<bdlcc_skiplist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlcc/SkipList_PoolUtil/PoolManager.adoc[PoolManager]* createPoolManager( int* objectSizes, int numLevels, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description 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. == Return Value address of the new pool manager == Parameters [cols="1,4"] |=== | Name| Description | *objectSizes* | array of node sizes indexed by level | *numLevels* | number of levels managed by the pool | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#