std::reverse_iterator::operator++,+,+=,--,-,-=
Aus 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. |
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) | |
Erhöht oder vermindert den Iterator. 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-Schritten oder pre-dekrementiert um ein bzw. .
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-Schritten oder nach verringert sich um ein bzw. .
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)
Gibt einen Iterator, die durch
n
oder -n
Positionen vorgerückt wird jeweils .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)
Advances den Iterator um
n
oder -n
Positionen bzw. .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.
[Bearbeiten] Rückgabewert
1) *this
2)
Eine Kopie *this, die vor der Änderung vorgenommen wurde
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
[Bearbeiten] Beispiel
This section is incomplete Reason: no example |
[Bearbeiten] Siehe auch
Fortschritte der Iterator 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. (Funktions-Template) |