Reserve sufficient memory for at least the specified numBytes.
Declared in <bslma_sequentialpool.h>
void
reserveCapacity(int numBytes);
Reserve sufficient memory to satisfy allocation requests for at least the specified numBytes without replenishment (i.e., without internal allocation). The behavior is undefined unless 0 <= numBytes.
| Name | Description |
|---|---|
| numBytes | The minimum number of bytes to reserve. |