std::reverse_iterator::operator*,->
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> reference operator*() const; |
(1) | |
pointer operator->() const; |
(2) | |
Gibt einen Verweis oder Zeiger auf das Element zurück, um
current .Original:
Returns a reference or pointer to the element previous to
current.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)
Entspricht
d_tmp = current; --d_tmp; return *d_tmp;;Original:
Equivalent to
d_tmp = current; --d_tmp; return *d_tmp;;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.
2)
Entspricht
&(operator*()) .Original:
Equivalent to
&(operator*()).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.
Parameter
(None)
Original:
(none)
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.
Rückgabewert
Referenz oder Zeiger auf das Element zurück, um
current .Original:
Reference or pointer to the element previous to
current.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.
Notes
Der Iterator-Objekt enthält eine zusätzliche Membervariable
d_tmp, nicht eine temporäre Variable, um zu vermeiden, um einen Verweis, die über die Lebensdauer der mit ihr verbundenen Iterator besteht .Original:
The iterator object contains an auxiliary member variable
d_tmp, not a temporary variable, to avoid returning a reference that persists beyond the lifetime of its associated iterator.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.
Beispiel
| This section is incomplete Reason: no example |
