remove overloads

Synopses

Declared in <bdlc_packedintarray.h>

Remove the element at the specified dstIndex.

void
remove(std::size_t dstIndex);

Remove elements in the half‐open range [dstFirst, dstLast)].

Remove numElements starting at dstIndex.

void
remove(
    std::size_t dstIndex,
    std::size_t numElements);

Return Value

iterator to the new position of the former dstLast element, or end() if dstLast == end()

Parameters

Name

Description

dstIndex

index of the element to remove

dstFirst

iterator to the first element to remove

dstLast

iterator one past the last element to remove

numElements

number of elements to remove

Created with MrDocs