<div class="t-tr-text">C + +: concetti<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> InputIterator
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Un
InputIterator
è un Iterator
in grado di leggere dal punta-all'elemento.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.
[modifica] Requisiti
Oltre ai requisiti di cui sopra, per un tipo
It
essere un InputIterator
, istanze a
e b
di It
deve: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; |