◐ Shell
clean mode source ↗

<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

De cppreference.com

<metanoindex/>

Un ForwardIterator est un Iterator qui peut lire les données de l'élément pointé à .

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.

Contrairement à un InputIterator, il garantit la validité lorsqu'il est utilisé dans les algorithmes multi-passes .

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.

Exigences

En plus des exigences ci-dessus, pour un type de It être un Forwardterator, une instance de i It doit:

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 est un ForwardIterator qui satisfait en outre aux exigences 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.