Espacios de nombres
Variantes
Acciones

Conceptos C++: ForwardIterator

De cppreference.com
< cpp‎ | concept
 
 
C + + conceptos
Básica
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-Wide
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Container
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elementos contenedores
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Números aleatorios
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Concurrencia
Original:
Concurrency
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)
(C++11)
Otros
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
A ForwardIterator es un Iterator que puede leer los datos del elemento en punta-a .
Original:
A ForwardIterator is an Iterator that can read data from the pointed-to element.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
A diferencia de un InputIterator, garantiza la validez cuando se utiliza en algoritmos multipase .
Original:
Unlike an InputIterator, it guarantees validity when used in multipass algorithms.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Requisitos

Además de los requisitos anteriores, para un tipo It ser un Forwardterator, un ejemplo de i It debe:
Original:
In addition to the above requirements, for a type It to be an Forwardterator, an instance i of It must:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Expression Return Equivalent expression Notes
++i const It& After this, copies of i are still valid
i++ value_type temp = *i;

++i;

return temp;
*i++ reference
Un mutable ForwardIterator es un ForwardIterator que además cumple con los requisitos OutputIterator .
Original:
A mutable ForwardIterator is a ForwardIterator that additionally satisfies the OutputIterator requirements.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.