operator==,!=,<,<=,>,>=,<=>(std::reverse_iterator)
| (1) | ||
| template< class Iterator1, class Iterator2 > bool operator==( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator==( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| (2) | ||
| template< class Iterator1, class Iterator2 > bool operator!=( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator!=( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| (3) | ||
| template< class Iterator1, class Iterator2 > bool operator<( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator<( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| (4) | ||
| template< class Iterator1, class Iterator2 > bool operator<=( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator<=( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| (5) | ||
| template< class Iterator1, class Iterator2 > bool operator>( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator>( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| (6) | ||
| template< class Iterator1, class Iterator2 > bool operator>=( const std::reverse_iterator<Iterator1>& lhs, | (until C++17) | |
| template< class Iterator1, class Iterator2 > constexpr bool operator>=( const std::reverse_iterator<Iterator1>& lhs, | (since C++17) | |
| template<class Iterator1, std::three_way_comparable_with<Iterator1> Iterator2> constexpr std::compare_three_way_result_t<Iterator1, Iterator2> | (7) | (since C++20) | 
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that the iterator order is reversed.
| (1-6) only participate in overload resolution if their underlying comparison expressions (see below) are well-formed and convertible to bool. | (since C++20) | 
Parameters
| lhs, rhs | - | iterator adaptors to compare | 
Return Value
Example
| This section is incomplete Reason: no example |