New class get_iterator<N, Iterator> and related functions.