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.

Synopses

Declared in <bdlb_transformiterator.h>

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.

template<
    class FUNCTOR,
    class ITERATOR>
bdlb::TransformIterator<FUNCTOR, ITERATOR>
operator+(
    TransformIterator<FUNCTOR, ITERATOR>::difference_type offset,
    TransformIterator<FUNCTOR, ITERATOR> const& iterator);

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.

template<
    class FUNCTOR,
    class ITERATOR>
bdlb::TransformIterator<FUNCTOR, ITERATOR>
operator+(
    TransformIterator<FUNCTOR, ITERATOR> const& iterator,
    TransformIterator<FUNCTOR, ITERATOR>::difference_type offset);

Created with MrDocs