Export (0) Print
Expand All


Iterates a specified number of times and returns the new iterator position.

template<class InputIterator>
  InputIterator next(
    InputIterator _First,
    typename iterator_traits<InputIterator>::difference_type _Off = 1 


The current position.


The number of times to iterate.

Returns the new iterator position after iterating _Off times.

The template function returns next incremented _Off times

Header: <iterator>

Namespace: std

© 2014 Microsoft