<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> Iterator
![]() |
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. |
Iterator
décrit les types qui peuvent être utilisés pour identifier et parcourir les éléments d'un conteneur .Iterator
concept describes types that can be used to identify and traverse the elements of a container.You can help to correct and verify the translation. Click here for instructions.
Iterator
est le concept de base utilisé par d'autres types d'itérateurs: InputIterator
, OutputIterator
, ForwardIterator
, BidirectionalIterator
et RandomAccessIterator
. Les itérateurs peuvent être considérés comme une abstraction des pointeurs .Iterator
is the base concept used by other iterator types: InputIterator
, OutputIterator
, ForwardIterator
, BidirectionalIterator
, and RandomAccessIterator
. Iterators can be thought of as an abstraction of pointers.You can help to correct and verify the translation. Click here for instructions.
[modifier] Exigences
It
type à être un Iterator, en plus des autres exigences, les conditions suivantes doivent être respectées pendant une i
objet de ce type:It
to be an Iterator, in addition to the other requirements, the following conditions have to be satisfied for an object i
of such type:You can help to correct and verify the translation. Click here for instructions.
Expression | Return | Precondition |
---|---|---|
*i | reference[1] | i is dereferenceable [2]
|
++i | It& |
[modifier] Voir aussi
[modifier] Renvois
- ↑ As defined in iterator_traits
- ↑ It's a valid iterator pointing to an existing element
You can help to correct and verify the translation. Click here for instructions.