function template
<iterator>

std::operator+ (move_iterator)

template <class Iterator>
  move_iterator<Iterator> operator+ (
         typename move_iterator<Iterator>::difference_type n,
         const move_iterator<Iterator>& m_it);
Addition operator
Returns a move iterator pointing to the element located n positions away from the element pointed to by m_it.

The function returns the same as: m_it+n (see move_iterator::operator+).

Parameters

n
Number of elements to offset.
Member type difference_type is an alias of Iterator's own difference type.
m_it
Move iterator.

Return value

An iterator pointing to the element n positions away from m_it.

Data races

The arguments are accessed.
The iterator returned can be used to access or modify elements.

Exception safety

Provides the same level of guarantee as operator+ applied on Iterator.

See also