BloombergLP::bdlc::PackedIntArray::remove

Remove the element at the specified dstIndex.

Synopsis

Declared in <bdlc_packedintarray.h>

void
remove(std::size_t dstIndex);

Description

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() .

Parameters

NameDescription
dstIndexindex of the element to remove