bool equal(const istreambuf_iterator& rhs);
The member function returns true only if the stored stream-buffer pointers for the object and rhs are both null pointers or are both non-null pointers.
rhs