std::reverse_iterator::operator*,->
De cppreference.com
<metanoindex/>
<tbody> </tbody> reference operator*() const; |
(1) | |
pointer operator->() const; |
(2) | |
Retorna uma referência ou ponteiro para o elemento anterior para
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)
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.
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.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
(Nenhum)
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.
Valor de retorno
Referência ou ponteiro para o elemento anterior para
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.
Notas
O objeto contém um iterador
d_tmp variável auxiliar membro, não uma variável temporária, para evitar o retorno de uma referência que persiste além do tempo de vida de seu iterador associado.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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
