operator-(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 Iterator > typename reverse_iterator<Iterator>::difference_type | (avant C++11) | |
template<class Iterator1, class Iterator2 > auto operator-(const reverse_iterator<Iterator1>& lhs, | (depuis C++11) | |
Renvoie la distance entre deux adaptateurs itérateur .
Original:
Returns the distance between two iterator adaptors.
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 pour calculer la différence de Original: iterator adaptors to compute the difference of The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier]Retourne la valeur
rhs.base()- lhs.base()
[modifier]Exemple
This section is incomplete Reason: no example |