◐ Shell
clean mode source ↗

std::reverse_iterator::operator*,-> - cppreference.com

Da cppreference.com.

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

reference operator*() const;

(1)

pointer operator->() const;

(2)

Restituisce un riferimento o un puntatore all'elemento precedente 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.

1)

Equivalente a 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.

2)

Equivalente a &(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.

Parametri

(Nessuno)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valore di ritorno

Riferimento o puntatore all'elemento precedente 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.

Note

L'oggetto contiene un iteratore ausiliario d_tmp variabile membro, non una variabile temporanea, al fine di evitare che restituisce un riferimento che persiste oltre la durata del suo iteratore associato.

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.

Esempio

Vedi anche

ottiene rvalue riferimento all'elemento indicizzati

Original:

obtains rvalue reference to indexed element

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]