BloombergLP::bslstl::RandomAccessIterator::operator-=

Regress this iterator by the specified offset.

Synopsis

Declared in <bslstl_randomaccessiterator.h>

RandomAccessIterator<T, ITER_IMP, TAG_TYPE>&
operator-=(difference_type offset);

Description

Decrement by the specified offset number of elements. Return a reference to this modifiable iterator. The behavior is undefined unless the iterator, after decrementing by offset, is within the bounds of the underlying sequence.

Return Value

reference to this modifiable iterator

Parameters

NameDescription
offsetnumber of elements to regress