cpp/iterator/istream iterator/operator cmp

Checks whether both and  are equal. Two stream iterators are equal if both of them are end-of-stream iterators or both of them refer to the same stream.

@1@ Checks whether is equal to.

@2@ Checks whether is not equal to.

@3@ Checks whether is an end-of-stream iterator.

Return value
@1@ if  is equal to,  otherwise.

@2@ if  is not equal to,  otherwise.

@3@ if  is an end-of-stream iterator,  otherwise.