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