<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> OutputIterator
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
OutputIterator
è un Iterator
in grado di scrivere il punta-to elemento. Original:
An
OutputIterator
is an Iterator
that can write to 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.
Un esempio di un tipo che implementa
OutputIterator
è std :: ostream_iterator.Original:
An example of a type that implements
OutputIterator
is std :: ostream_iterator.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.
Quando
ForwardIterator
, BidirectionalIterator
o RandomAccessIterator
soddisfa i requisiti OutputIterator
oltre alle proprie esigenze, è descritto come 'mutevole'.Original:
When
ForwardIterator
, BidirectionalIterator
, or RandomAccessIterator
satisfies the OutputIterator
requirements in addition to its own requirements, it is described as mutable.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 al requisito di cui sopra, per un tipo
It
essere un OutputIterator
, istanze i
e o
di It
deve:Original:
In addition to the above requirement, for a type
It
to be an OutputIterator
, instances i
and o
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 = o | it may not be possible to write twice in the same iterator | ||
++i | It& | After this, copies of i may be invalidated. 'Messaggio': &r == &++r
Original: Post: &r == &++r The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
i++ | const It& | It temp = i; ++i; |
|
*i++ = o | *i = o; ++i; |