[#BloombergLP-bdlcc-SkipList_PoolUtil-allocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList_PoolUtil.adoc[SkipList_PoolUtil]::allocate :relfileprefix: ../../../ :mrdocs: Reserve memory for a node at the specified `level`. == Synopsis Declared in `<bdlcc_skiplist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void* allocate( xref:BloombergLP/bdlcc/SkipList_PoolUtil/PoolManager.adoc[PoolManager]* poolManager, int level); ---- == Description Reserve sufficient space for a node at the specified `level` from the specified `poolManager`, and return the address of the reserved memory. == Return Value address of the reserved memory == Parameters [cols="1,4"] |=== | Name| Description | *poolManager* | pool from which to allocate | *level* | skip‐list level of the node to allocate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#