Namespaces
Variants
Views
Actions

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

From cppreference.com
 
 
Iterator library
Iterator concepts
Iterator primitives
Iterator adaptors
Stream iterators
Iterator customization points
Iterator operations
(C++11)
(C++11)
Range access
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
 
bool equal( const istreambuf_iterator& it ) const;

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

[edit] Parameters

it - another stream buffer iterator to compare to

[edit] Return value

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

[edit] Exceptions

(none)