bool equal( const istreambuf_iterator& it ) const; |
Checks whether both *this
and it
are valid, or both are invalid, regardless of the stream buffer objects they use.
it | - | another stream buffer iterator to compare to |
true
if both *this
and it
are valid, or both are invalid, false
otherwise.
May throw implementation-defined exceptions.
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
LWG 110 | C++98 | the signature was bool equal(istreambuf_iterator& it) | const s added |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/istreambuf_iterator/equal