Advance this iterator by the specified offset.
Synopsis
Declared in <bslstl_randomaccessiterator.h>
RandomAccessIterator<T, ITER_IMP, TAG_TYPE>&
operator+=(difference_type offset);
Description
Increment by the specified offset number of elements. Return a reference to this modifiable iterator. The behavior is undefined unless the iterator, after incrementing by offset, is within the bounds of the underlying sequence.
Return Value
reference to this modifiable iterator
Parameters
Name |
Description |
offset |
number of elements to advance |
Created with MrDocs