Iterators
Stream iterators provide iterator capabilities for ostreams and istreams. They allow generic algorithms to be used directly on streams.
See the sections istream_iterator and ostream_iterator for a description of these iterators.