operator==,!=,<,<=,>,>=,<=>(std::reverse_iterator)
(1) | ||
template< class Iterator1, class Iterator2 > bool operator==( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator==( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
(2) | ||
template< class Iterator1, class Iterator2 > bool operator!=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator!=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
(3) | ||
template< class Iterator1, class Iterator2 > bool operator<( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator<( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
(4) | ||
template< class Iterator1, class Iterator2 > bool operator<=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator<=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
(5) | ||
template< class Iterator1, class Iterator2 > bool operator>( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator>( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
(6) | ||
template< class Iterator1, class Iterator2 > bool operator>=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17未満) | |
template< class Iterator1, class Iterator2 > constexpr bool operator>=( const std::reverse_iterator<Iterator1>& lhs, |
(C++17以上) | |
template<class Iterator1, std::three_way_comparable_with<Iterator1> Iterator2> constexpr std::compare_three_way_result_t<Iterator1, Iterator2> |
(7) | (C++20以上) |
ベースとなるイテレータを比較します。 イテレータの順序が反転されていることを考慮して、逆の比較が適用されます。
(1-6) は、ベースとなる比較式 (下を参照) が well-formed かつ bool に変換可能である場合に限り、オーバーロード解決に参加します。 |
(C++20以上) |
[編集] 引数
lhs, rhs | - | 比較するイテレータアダプタ |
[編集] 戻り値
[編集] 例
This section is incomplete Reason: no example |