Advance this iterator by the specified offset.
Declared in <bdlc_packedintarray.h>
PackedIntArrayConstIterator<TYPE>&
operator+=(std::ptrdiff_t offset);
Advance this iterator by the specified offset from the element referenced to this iterator. The returned iterator, it, referencing an element within a PackedIntArray, array, remains valid as long as 0 <= it - array.begin() <= array.length(). The behavior is undefined unless PackedIntArrayConstInterator() != *this and 0 <= *this - array.begin() + offset <= array.length().
a reference to this iterator
| Name | Description |
|---|---|
| offset | the number of elements to advance |