Namespaces
Variants
Views
Actions

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>& x

);

Create an by n incremented reverse_iterator.

[edit] Return value

reverse_iterator<Iterator>(x.current - n)

[edit] Example

[edit] See also

increments the iterator
(public member function)