Espacios de nombres
Variantes
Acciones

std::reverse_iterator::operator*,->

De cppreference.com

 
 
Biblioteca Iterator
Primitivas iterador
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Adaptadores iterador
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iteradores Stream
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operaciones iterador
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
Rango de acceso
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
 
std::reverse_iterator
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator::operator*reverse_iterator::operator->
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
reference operator*() const;
(1)
pointer operator->() const;
(2)
Devuelve una referencia o puntero al elemento anterior a 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.

Contenido

[editar] Parámetros

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

[editar] Valor de retorno

Referencia o puntero al elemento anterior a 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.

[editar] Notas

El objeto iterador contiene una variable miembro d_tmp auxiliar, no una variable temporal, para evitar el retorno de una referencia que persiste más allá de la vida útil de su iterador asociado .
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.

[editar] Ejemplo

[editar] Ver también

obtiene rvalue referencia al elemento indexado
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.

(función miembro público) [editar]