First page Back Continue Last page Graphics
input stream iterator
input_iterator type
named istream_iterator
e.g vector<int> v; copy(istream_iterator<int>(cin), istream_iterator<int>( ), back_inserter(v));
first one provides reading of integers.
second one provides end of file indication (one past)
Will read into v from standard input until end-of-file or a not valid value.