Reserve memory from this pool allocator to satisfy memory requests for at least the specified numObjects before the pool replenishes. The behavior is undefined unless 0 <= numObjects. Note that this operation has no effect unless block size was supplied at construction, or allocate was invoked.

Synopsis

Declared in <bdlma_concurrentpoolallocator.h>

void
reserveCapacity(int numObjects);

Created with MrDocs