Reserve memory for at least the specified numNodes.

Synopsis

Declared in <bslstl_treenodepool.h>

void
reserveNodes(size_type numNodes);

Description

Add to this pool sufficient memory to satisfy memory requests for at least the specified numNodes. 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 to reserve capacity for

Created with MrDocs