Insert value into this array at the position of dst.
Declared in <bdlc_compactedarray.h>
CompactedArray<TYPE>::const_iterator
insert(
const_iterator dst,
TYPE const& value);
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 index position. Return an iterator to the newly inserted element. The behavior is undefined unless dst is an iterator over this array.
iterator to the newly inserted element
| Name | Description |
|---|---|
| dst | iterator position at which to insert |
| value | value of the inserted element |