template< std::sentinel_for<Iter> S > friend constexpr bool operator==( const move_iterator& i, const std::move_sentinel<S>& s );
比较 move_iterator 与 move_sentinel。
move_iterator
move_sentinel
此重载只有在 i.base() == s.base() 良构并且可转换到 bool 时才会参与重载决议。
i.base() == s.base()
bool
此函数模板对常规的无限定或有限定查找不可见,而只能在 std::move_iterator<Iter> 为实参的关联类时由实参依赖查找找到。
std::move_iterator<Iter>
!= 运算符从 operator== 运算符合成。
!=
operator==