Reserve capacity for at least the specified numElements values.
Declared in <bdlc_queue.h>
void
reserveCapacity(int numElements);
Reserve sufficient internal capacity to accommodate up to the specified numElements values without subsequent reallocation. Note that if numElements <= length(), this operation has no effect.
| Name | Description |
|---|---|
| numElements | minimum capacity to reserve |