Joel de Guzman wrote:
Hence, pair<iterator,iterator> is just a collection of 2 iterators,
nothing more.
Agreed. In
pair<iterator, iterator> copy_n( iterator in, iterator out, size_t n );
the return value is not a range. copy_n just returns two iterators.