operator<,<=,>,>=(std::reverse_iterator)
(1) | ||
template< class Iterator1, class Iterator2 >
bool operator==( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator==( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
(2) | ||
template< class Iterator1, class Iterator2 >
bool operator!=( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator!=( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
(3) | ||
template< class Iterator1, class Iterator2 >
bool operator<( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator<( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
(4) | ||
template< class Iterator1, class Iterator2 >
bool operator<=( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator<=( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
(5) | ||
template< class Iterator1, class Iterator2 >
bool operator>( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator>( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
(6) | ||
template< class Iterator1, class Iterator2 >
bool operator>=( const reverse_iterator<Iterator1>& lhs, |
(until C++17) | |
template< class Iterator1, class Iterator2 >
constexpr bool operator>=( const reverse_iterator<Iterator1>& lhs, |
(since C++17) | |
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that the iterator order is reversed.
[edit] Parameters
lhs, rhs | - | iterator adaptors to compare |
[edit] Return Value
[edit] Example
This section is incomplete Reason: no example |