
For istream_iterator or ostream_iterator, the operator '<<' and '>>' are
used to serialize the data. Have anyone ever needed another operator
(typically for serializing to another format, for example binary) ? To
implement this, it seems possible to add the serializing operator to
istream_iterator, as an extra template argument, which would by default
use the existing operator>>.
In other words :
template