A counting iterator The counting_iterator class provides a random-access iterator that returns sequential values when dereferenced. See also: make_counting_iterator() counting_iterator<T> const T& Returns a new counting_iterator starting at init.