operator<,<=,>,>=(std::reverse_iterator)
De cppreference.com
< cpp | iterator | reverse iterator
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template< class Iterator1, class Iterator2 > bool operator==( const reverse_iterator<Iterator1>& lhs, |
(1) | |
template< class Iterator1, class Iterator2 > bool operator!=( const reverse_iterator<Iterator1>& lhs, |
(2) | |
template< class Iterator1, class Iterator2 > bool operator<( const reverse_iterator<Iterator1>& lhs, |
(3) | |
template< class Iterator1, class Iterator2 > bool operator<=( const reverse_iterator<Iterator1>& lhs, |
(4) | |
template< class Iterator1, class Iterator2 > bool operator>( const reverse_iterator<Iterator1>& lhs, |
(5) | |
template< class Iterator1, class Iterator2 > bool operator>=( const reverse_iterator<Iterator1>& lhs, |
(6) | |
Compare les itérateurs sous-jacents. Inverse comparisons are applied in order to take into account that the iterator order is reversed.
Original:
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that the iterator order is reversed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Paramètres
lhs, rhs | - | adaptateurs itérateur à comparer
Original: iterator adaptors to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Valeur de retour
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()
[modifier] Exemple
This section is incomplete Reason: no example |