BloombergLP::bdlc::PackedIntArrayConstIterator::operator-

Return an iterator referencing the location at the specified offset from the element referenced by 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) const;