NAME

operator==,!=(std::istreambuf_iterator) - operator==,!=(std::istreambuf_iterator)

Synopsis


template< class CharT, class Traits >
bool operator==( const istreambuf_iterator<CharT,Traits>& lhs, (1)
const istreambuf_iterator<CharT,Traits>& rhs );
template< class CharT, class Traits >
bool operator!=( const istreambuf_iterator<CharT,Traits>& lhs, (2)
const istreambuf_iterator<CharT,Traits>& rhs );


Checks whether both lhs and rhs are valid, or both are invalid, regardless of the stream buffer objects they use.
1) Equivalent to lhs.equal(rhs).
2) Equivalent to !lhs.equal(rhs).

Parameters


lhs, rhs - stream buffer iterators to compare

Return value


1) The result of lhs.equal(rhs).
2) The result of !lhs.equal(rhs).

Exceptions


(none)