Dynamically allocate a new chunk containing the specified numBlocks number of blocks, and add the chunk to the free memory list of this pool. The additional memory is added irrespective of the amount of free memory when called. The behavior is undefined unless 0 < numBlocks.

Synopsis

Declared in <bslstl_simplepool.h>

void
reserve(size_type numBlocks);

Created with MrDocs