template <class InputIterator, class Distance> void advance (InputIterator& it, Distance n);
operator+
or operator-
. Otherwise, the function uses repeatedly the increase or decrease operator (operator++
or operator--
) until n elements have been advanced.
|
|
The sixth element in mylist is: 50 |