itertools::distance
#include <itertools.hpp>
Synopsis
template<typename Iter1, typename Iter2>typename std::iterator_traits<Iter1>::difference_type distance (Iter1 first, Iter2 last)
Template parameters
Iter1 Iterator type #1.
Iter2 Iterator type #2.
Parameters
first Iterator #1.
last Iterator #2.
Returns
Number of elements between the two iterators.