BloombergLP::bdlc::PackedIntArray::insert

Insert value at dst and return an iterator to it.

Synopsis

Declared in <bdlc_packedintarray.h>

PackedIntArray<TYPE>::const_iterator
insert(
    const_iterator dst,
    TYPE value);

Description

Insert into this array, at the specified dst, an element having the specified value, shifting any elements originally at or above dst up by one. Return an iterator to the newly inserted element.

Return Value

iterator to the newly inserted element

Parameters

NameDescription
dstiterator position at which to insert
valueelement value to insert