home | help
std::istrea...rator::equal(3)  C++ Standard Libary std::istrea...rator::equal(3)

NAME
     std::istreambuf_iterator::equal - std::istreambuf_iterator::equal

Synopsis
	bool equal( const istreambuf_iterator& it ) const;

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

Parameters
	it - another stream buffer iterator to compare to

Return value
	true  if  both *this and it are valid, or both are invalid, false other-
     wise.

Exceptions
	May throw implementation-defined exceptions.

	Defect reports

	The following behavior-changing defect	reports  were  applied	retroac-
     tively to
	previously published C++ standards.

	   DR	 Applied to		 Behavior as published		    Cor-
     rect behavior
	LWG 110  C++98	    the signature was bool			    con-
     sts added
			    equal(istreambuf_iterator& it)
			    LWG issue 110 was not properly resolved,
	LWG		   1126 	       C++98			 leaving
     const added
			    the parameter type as istreambuf_iterator&

http://cppreference.com 	   2024.06.10	   std::istrea...rator::equal(3)

home | help