operator==,!=(std::istreambuf_iterator<CharT,Traits>)
Min standard notice:
Header: <iterator>
Checks whether both lhs and rhs are valid, or both are invalid, regardless of the stream buffer objects they use.
# Declarations
template< class CharT, class Traits >
bool operator==( const std::istreambuf_iterator<CharT,Traits>& lhs,
const std::istreambuf_iterator<CharT,Traits>& rhs );
template< class CharT, class Traits >
bool operator!=( const std::istreambuf_iterator<CharT,Traits>& lhs,
const std::istreambuf_iterator<CharT,Traits>& rhs );
(until C++20)
friend bool operator==( const istreambuf_iterator& lhs,
std::default_sentinel_t );
(since C++20)
# Parameters
lhs, rhs: stream buffer iterators to compare