[#BloombergLP-bdlcc-SkipList_PoolUtil-allocate]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList_PoolUtil.adoc[SkipList&lowbar;PoolUtil]::allocate
:relfileprefix: ../../../
:mrdocs:

Reserve memory for a node at the specified `level`&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[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&period;

== Return Value

address of the reserved memory

== Parameters

[cols="1,4"]
|===
| Name| Description
| *poolManager*
| pool from which to allocate
| *level*
| skip&hyphen;list level of the node to allocate
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
