reserveCapacity overloads
Declared in <bdlc_packedintarray.h>
Make the capacity of this array at least numElements.
void
reserveCapacity(std::size_t numElements);
» more...
Reserve capacity for numElements with values up to maxValue.
void
reserveCapacity(
std::size_t numElements,
TYPE maxValue);
» more...
Reserve capacity for numElements in [minValue, maxValue].
void
reserveCapacity(
std::size_t numElements,
TYPE minValue,
TYPE maxValue);
» more...
| Name | Description |
|---|---|
| numElements | minimum number of elements to reserve for |
| maxValue | maximum element value expected after this call |
| minValue | minimum element value expected after this call |