BloombergLP::bdlc::PackedIntArray<int>::remove

remove overloads

Synopses

Declared in <bdlc_packedintarray.h>

Remove from this array the element at the specified dstIndex. Each element having an index greater than dstIndex before the removal is shifted down by one index position. The behavior is undefined unless dstIndex < length() .

void
remove(std::size_t dstIndex);
» more...

Remove from this array the elements starting from the specified dstFirst up to, but not including, the specified dstLast, shifting the elements of this array that are at or above dstLast to dstLast - dstFirst indices lower. Return an iterator to the new position of the element that was referred to by dstLast or end() if dstLast == end(). The behavior is undefined unless dstFirst <= dstLast.

const_iterator
remove(
    const_iterator dstFirst,
    const_iterator dstLast);
» more...

Remove from this array, starting at the specified dstIndex, the specified numElements, shifting the elements of this array that are at dstIndex + numElements or above to numElements indices lower. The behavior is undefined unless dstIndex + numElements <= length().

void
remove(
    std::size_t dstIndex,
    std::size_t numElements);
» more...