template< class CharT, class Traits > bool operator==( const istreambuf_iterator<CharT,Traits>& lhs, const istreambuf_iterator<CharT,Traits>& rhs ); | (1) | |
template< class CharT, class Traits > bool operator!=( const istreambuf_iterator<CharT,Traits>& lhs, const istreambuf_iterator<CharT,Traits>& rhs ); | (2) |
Checks whether both lhs
and rhs
are valid, or both are invalid, regardless of the stream buffer objects they use.
lhs.equal(rhs)
.!lhs.equal(rhs)
.lhs, rhs | - | stream buffer iterators to compare |
lhs.equal(rhs)
.!lhs.equal(rhs)
.(none).
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/istreambuf_iterator/operator_cmp