Espacios de nombres
Variantes
Acciones

std::reverse_iterator::operator[]

De cppreference.com
 
 
Biblioteca de iteradores
Conceptos de iteradores
Primitivas de iteradores
Conceptos de algoritmos y servicios
Conceptos invocables indirectos
Requerimientos comunes de algoritmos
Servicios
Adaptadores de iteradores
Iteradores de flujos
Puntos de personalización de iteradores
Operaciones de iteradores
(C++11)
(C++11)
Acceso a rangos
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
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[]
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.
 
/*unspecified*/ operator[]( difference_type n ) const;
Devuelve una referencia al elemento en la ubicación relativa especificado .
Original:
Returns a reference to the element at specified relative location.
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

n -
posición relativa a la ubicación actual .
Original:
position relative to current location.
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

Una referencia al elemento en la ubicación relativa, es decir, current[-n-1] .
Original:
A reference to the element at relative location, that is, current[-n-1].
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplos

[editar] Ver también

accede al elemento apuntado
(función miembro pública) [editar]