std::reverse_iterator::operator++,+,+=,--,-,-=
Da cppreference.com.
< cpp | iterator | reverse iterator
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
reference operator++(); | (1) | |
reference operator--(); | (2) | |
reference operator++(int); | (3) | |
reference operator--(int); | (4) | |
reverse_iterator operator+( difference_type n )const; | (5) | |
reverse_iterator operator-( difference_type n )const; | (6) | |
reverse_iterator& operator+=( difference_type n )const; | (7) | |
reverse_iterator& operator-=( difference_type n )const; | (8) | |
Incrementa o decrementa l'iteratore. Inverse operations are applied to the underlying operator because of the reverse order.
Original:
Increments or decrements the iterator. Inverse operations are applied to the underlying operator because of the reverse order.
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.
1-2)
Pre-incrementi o decrementi di pre-da parte di uno rispettivamente.
Original:
Pre-increments or pre-decrements by one respectively.
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.
3-4)
Post-incrementi o post-decrementi rispettivamente da parte di una.
Original:
Post-increments or post-decrements by one respectively.
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.
5-6)
Restituisce un iteratore che viene avanzata da
n
o -n
posizioni rispettivamente.Original:
Returns an iterator which is advanced by
n
or -n
positions respectively.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.
7-8)
Sposta l'iteratore di
n
o -n
posizioni rispettivamente.Original:
Advances the iterator by
n
or -n
positions respectively.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.
[modifica]Valore di ritorno
1)*this
2)
una copia di *this che è stato fatto prima della modifica
Original:
a copy of *this that was made before the change
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.
3)reverse_iterator(base()-n) or reverse_iterator(base()+n) respectively.
4)*this
[modifica]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
avanza l'iteratore Original: advances the iterator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) |