Return a copy of iterator regressed by the specified offset.

Synopsis

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);

Description

Return a copy of the specified iterator object with its underlying iterator regressed by the specified (signed) offset from that of iterator. The behavior is undefined if so regressing the underlying iterator is undefined.

Return Value

a copy of iterator regressed by offset

Parameters

Name

Description

iterator

transform iterator to regress

offset

signed distance to regress

Created with MrDocs