Conceptos C++: InputIterator
De cppreference.com
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Un
InputIterator
es un Iterator
que puede leer desde el elemento en punta-a .Original:
An
InputIterator
is an Iterator
that can read 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.
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 InputIterator
, instancias y a
b
de It
debe:Original:
In addition to the above requirements, for a type
It
to be an InputIterator
, instances a
and b
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.
You can help to correct and verify the translation. Click here for instructions.
Expression | Return | Equivalent expression | Notes |
---|---|---|---|
a != b | bool | !(a == b) | |
*a | value_type | If a == b equivalent to *b | |
a->m | (*a).m | ||
++a | It& | After this, copies of a may be invalidated | |
a++ | ++a | ||
*a++ | value_type | value_type t =*a; ++a; |