名前空間
変種

operator==,!=,<,<=,>,>=,<=>(std::move_iterator)

提供: cppreference.com
 
 
イテレータライブラリ
イテレータコンセプト
イテレータプリミティブ
アルゴリズムのコンセプトとユーティリティ
間接呼び出し可能コンセプト
共通アルゴリズム要件
ユーティリティ
イテレータアダプタ
ストリームイテレータ
イテレータのカスタマイゼーションポイント
イテレータ操作
(C++11)
(C++11)
範囲アクセス
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
 
<tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev t-dcl-rev-num "> </tbody><tbody> </tbody>
(1)
template< class Iterator1, class Iterator2 > bool operator==( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator==( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
(2)
template< class Iterator1, class Iterator2 > bool operator!=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator!=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
(C++20未満)
(3)
template< class Iterator1, class Iterator2 > bool operator<( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator<( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
(4)
template< class Iterator1, class Iterator2 > bool operator<=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator<=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
(5)
template< class Iterator1, class Iterator2 > bool operator>( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator>( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
(6)
template< class Iterator1, class Iterator2 > bool operator>=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17未満)
template< class Iterator1, class Iterator2 > constexpr bool operator>=( const std::move_iterator<Iterator1>& lhs, const std::move_iterator<Iterator2>& rhs );
(C++17以上)
template<class Iterator1, std::three_way_comparable_with<Iterator1> Iterator2> constexpr std::compare_three_way_result_t<Iterator1, Iterator2> operator<=>( const std::move_iterator<Iterator1>& x, const std::move_iterator<Iterator2>& y );
(7) (C++20以上)

ベースとなるイテレータを比較します。

(1-6) は、ベースとなる比較式 (下を参照) が well-formed かつ bool に変換可能である場合に限り、オーバーロード解決に参加します。

(C++20以上)

引数

lhs, rhs - 比較するイテレータアダプタ

戻り値

1) lhs.base() == rhs.base()
2) lhs.base() != rhs.base()
3) lhs.base() < rhs.base()
4) lhs.base() <= rhs.base()
5) lhs.base() > rhs.base()
6) lhs.base() >= rhs.base()
7) lhs.base() <=> rhs.base()