Return a copy of iterator regressed 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 regressed by the specified (signed) offset from that of iterator. The behavior is undefined if so regressing the underlying iterator is undefined.
a copy of iterator regressed by offset
| Name | Description |
|---|---|
| iterator | transform iterator to regress |
| offset | signed distance to regress |