Reserve memory for a node at the specified level.
Declared in <bdlcc_skiplist.h>
static
void*
allocate(
PoolManager* poolManager,
int level);
Reserve sufficient space for a node at the specified level from the specified poolManager, and return the address of the reserved memory.
address of the reserved memory
| Name | Description |
|---|---|
| poolManager | pool from which to allocate |
| level | skip-list level of the node to allocate |