Reserve memory for at least the specified numNodes.

Synopsis

Declared in <bslstl_bidirectionalnodepool.h>

void
reserveNodes(size_type numNodes);

Description

Add to this pool sufficient memory to satisfy memory requests for at least the specified numNodes before the pool replenishes. The additional memory is added irrespective of the amount of free memory when called. The behavior is undefined unless 0 < numNodes.

Parameters

Name

Description

numNodes

minimum number of nodes this pool should be able to satisfy before replenishing

Created with MrDocs