Description
istream_iterator is a function template used to perform iterator operations on an istream. For example, you can apply one of the standard algorithms directly to input that is read from an input stream.
Declaration
template <class T, class Ch, class Tr = char_traits<Ch>, class Dist = ptrdiff_t> class istream_iterator : public iterator;
Concept
The sample program copies its input to its output, using the algorithm copy(), and istream and ostream iterators. Integer values are copied from the input to the output. Copying continues until an end-of-file character is typed. Note that the special usage istream_iterator<int>() is used to represent the end of file iterator value.
Supported
Supported
Supported