Return a copy of iterator advanced by the specified offset.
Declared in <bdlb_transformiterator.h>
template<
class FUNCTOR,
class ITERATOR>
bdlb::TransformIterator<FUNCTOR, ITERATOR>
operator+(
TransformIterator<FUNCTOR, ITERATOR> const& iterator,
TransformIterator<FUNCTOR, ITERATOR>::difference_type offset);
Return a copy of the specified iterator object with its underlying iterator advanced by the specified (signed) offset from that of iterator. The behavior is undefined if so advancing the underlying iterator is undefined.
a copy of iterator advanced by offset
| Name | Description |
|---|---|
| iterator | transform iterator to advance |
| offset | signed distance to advance |