<div class="t-tr-text">Concepts C + +:<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> ForwardIterator
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
ForwardIterator est un Iterator qui peut lire les données de l'élément pointé à .ForwardIterator is an Iterator that can read data from the pointed-to element.You can help to correct and verify the translation. Click here for instructions.
InputIterator, il garantit la validité lorsqu'il est utilisé dans les algorithmes multi-passes .InputIterator, it guarantees validity when used in multipass algorithms.You can help to correct and verify the translation. Click here for instructions.
Exigences
InputIteratorDefaultConstructiblea == bimplique++a == ++bOriginal:a == bimplies++a == ++bThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
It être un Forwardterator, une instance de i It doit:It to be an Forwardterator, an instance i of It must: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 |
mutable ForwardIterator est un ForwardIterator qui satisfait en outre aux exigences OutputIterator .mutable ForwardIterator is a ForwardIterator that additionally satisfies the OutputIterator requirements.You can help to correct and verify the translation. Click here for instructions.