Decrement this iterator by the specified offset.

Synopsis

Declared in <bdlc_packedintarray.h>

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

Description

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

Return Value

reference to this iterator

Parameters

Name

Description

offset

number of elements to move backward

Created with MrDocs