operator-(reverse_iterator)
Da 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 |
(até C++11) | |
template< class Iterator1, class Iterator2 > auto operator-( const reverse_iterator<Iterator1>& lhs, |
(desde C++11) | |
Retorna a distância entre os dois adaptadores de iterador.
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.
[editar] Parâmetros
lhs, rhs | - | adaptadores iterador para calcular a diferença 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. |
[editar] Valor de retorno
rhs.base() - lhs.base()
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |