Namespaces
Variants
Views
Actions

std::istreambuf_iterator::equal

From cppreference.com
< cpp‎ | iterator‎ | istreambuf iterator
Revision as of 16:30, 5 June 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)