operator<,<=,>,>=(std::reverse_iterator)
From cppreference.com
< cpp | iterator | reverse iterator
template <class Iterator1, class Iterator2> bool operator < (const reverse_iterator<Iterator1>& x, |
(1) | |
template <class Iterator1, class Iterator2> bool operator <= (const reverse_iterator<Iterator1>& x, |
(2) | |
template <class Iterator1, class Iterator2> bool operator > (const reverse_iterator<Iterator1>& x, |
(3) | |
template <class Iterator1, class Iterator2> bool operator >= (const reverse_iterator<Iterator1>& x, |
(4) | |
Orders reverse_iterators by applying the reverse ordering operators to the base iterators.
[edit] Return Value
1) x.current > y.current
2) x.current >= y.current
3) x.current < y.current
4) x.current <= y.current
[edit] Example
This section is incomplete |
[edit] See also
compares two reverse_iterators for equality (function template) |