reserveCapacity overloads
Synopses
Declared in <bdlc_packedintarray.h>
Reserve capacity for at least numElements elements.
void
reserveCapacity(std::size_t numElements);
Reserve capacity for numElements with values up to maxValue.
void
reserveCapacity(
std::size_t numElements,
ElementType maxValue);
Reserve capacity for numElements in [minValue, maxValue].
void
reserveCapacity(
std::size_t numElements,
ElementType minValue,
ElementType 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