Template Class Istreambuf_iterator

The istreambuf_iterator reads successive characters from the istreambuf object for which it was constructed.

An istreambuf_iterator can only be used for a one pass algorithm.