std::istreambuf_iterator<CharT,Traits>::equal

Checks whether both *this and it are valid, or both are invalid, regardless of the stream buffer objects they use.

# Declarations

bool equal( const istreambuf_iterator& it ) const;

# Parameters

# Return value

true if both *this and it are valid, or both are invalid, false otherwise.

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 110C++98the signature was bool equal(istreambuf_iterator& it)consts added
LWG 1126C++98LWG issue 110 was not properly resolved, leavingthe parameter type as istreambuf_iterator&const added