Luna::advance

template <typename _Iter, typename _Distance>
void advance(_Iter &it, _Distance n)

Advances the given iterator by n positions respectively.

Parameters

  • in it

    The iterator to advance.

  • in n

    The position to advance relative to the current position.