operator==(std::move_iterator<Iter>, std::move_sentinel)
From cppreference.com
< cpp | iterator | move iterator
template< std::sentinel_for<Iter> S > friend constexpr bool |
(since C++20) | |
Compare a move_iterator
and a move_sentinel
.
This function template is not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when std::move_iterator<Iter>
is an associated class of the arguments.
The !=
operator is synthesized from operator==
.
Parameters
i | - | std::move_iterator<Iter> |
s | - | std::move_sentinel<S>, where S models std::sentinel_for<Iter>
|
Return value
i.base() == s.base()
Example
This section is incomplete Reason: no example |
See also
(C++11)(C++11)(removed in C++20)(C++11)(C++11)(C++11)(C++11)(C++20) |
compares the underlying iterators (function template) |