operator==,!= (std::istreambuf_iterator<CharT,Traits>)
Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Member functions | ||||
Non-member functions | ||||
operator==
operator!=
(until C++20)
|
Defined in header
<iterator>
|
||
template
<
class
CharT,
class
Traits
>
bool
operator
==
(
const
std::
istreambuf_iterator
<
CharT,Traits
>
&
lhs,
|
(1) | |
template
<
class
CharT,
class
Traits
>
bool
operator
!
=
(
const
std::
istreambuf_iterator
<
CharT,Traits
>
&
lhs,
|
(2) | (until C++20) |
friend
bool
operator
==
(
const
istreambuf_iterator
&
lhs,
std:: default_sentinel_t ) ; |
(3) | (since C++20) |
Checks whether both lhs and rhs are valid, or both are invalid, regardless of the stream buffer objects they use.
This function is not visible to ordinary unqualified or qualified lookup , and can only be found by argument-dependent lookup when std::istreambuf_iterator<CharT,Traits> is an associated class of the arguments.
The
|
(since C++20) |
Parameters
lhs, rhs | - | stream buffer iterators to compare |
Return value
Exceptions
May throw implementation-defined exceptions.