<div class="t-tr-text">C + +: conceitos<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
Da cppreference.com
![]() |
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. |
A
ForwardIterator
é um Iterator
que podem ler dados do elemento apontado para.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.
You can help to correct and verify the translation. Click here for instructions.
Ao contrário de um
InputIterator
, garante validade quando utilizado em algoritmos multipass.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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Requisitos
-
InputIterator
-
DefaultConstructible
-
a == b
implica++a == ++b
Original:a == b
implies++a == ++b
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Para além dos requisitos acima referidos, para um tipo
It
ser um Forwardterator
, um exemplo de i
It
deve: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.
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; |
||
*i++ | reference |
A
mutable ForwardIterator
é um ForwardIterator
que, adicionalmente, satisfaz os requisitos 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.
You can help to correct and verify the translation. Click here for instructions.