operator+(std::reverse_iterator)

From cppreference.com

template< class Iterator >

reverse_iterator<Iterator>
    operator+( typename reverse_iterator<Iterator>::difference_type n,

               const reverse_iterator<Iterator>& it );

Returns the iterator it incremented by n.

Contents

[edit] Parameters

n - the number of positions to increment the iterator
it - the iterator adaptor to increment

[edit] Return value

The incremented iterator, that is reverse_iterator<Iterator>(x.current - n)

[edit] Example

[edit] See also

advances or decrements the iterator
(public member function)