reserveCapacity overloads
Synopses
Declared in <bdlc_packedintarray.h>
Make the capacity of this array at least numElements.
void
reserveCapacity(std::size_t numElements);
Reserve capacity for numElements with values up to maxValue.
void
reserveCapacity(
std::size_t numElements,
TYPE maxValue);
Reserve capacity for numElements in [minValue, maxValue].
void
reserveCapacity(
std::size_t numElements,
TYPE minValue,
TYPE maxValue);
Parameters
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 |
Created with MrDocs