Reserve capacity for at least numObjects objects from this allocator.
Synopsis
Declared in <bdlma_concurrentpoolallocator.h>
void
reserveCapacity(int numObjects);
Description
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.
Parameters
Name |
Description |
numObjects |
minimum number of objects to reserve capacity for |
Created with MrDocs