Hi, everyone!

I am puzzled at some words taken from my STL
tutorial. Here are the words at which I am puzzled.

--------
Note: For two input iterators a and b, a == b implies *a == *b.
For istream iterators, this condition doesn't hold.
--------

My opinion is,

--------
Two istream iterators are equal if :

both are end-of-stream iterators and this can no longer be read, or
both can read and use the same stream

from "The C++ Standard Library" by Josuttis.
--------

So I think whether a and b are equal has nothing to do
with *a and *b. Another question, "input iterators" is
different from "istream iterators"? I think they are the same.

Am I correct? Who can give me an explanation?
Better with an example. :-)


Thanks in advance,
George