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

Synopsis

Declared in <bdlc_packedintarray.h>

PackedIntArrayConstIterator<TYPE>&
operator+=(std::ptrdiff_t offset);

Created with MrDocs