<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> OutputIterator
|
|
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/>
OutputIterator est un Iterator qui peut écrire sur l'élément pointé à . OutputIterator is an Iterator that can write to the pointed-to element. You can help to correct and verify the translation. Click here for instructions.
OutputIterator est std :: ostream_iterator .OutputIterator is std :: ostream_iterator.You can help to correct and verify the translation. Click here for instructions.
ForwardIterator, BidirectionalIterator ou RandomAccessIterator satisfait aux exigences OutputIterator en plus de ses propres besoins, il est décrit comme 'mutable' .ForwardIterator, BidirectionalIterator, or RandomAccessIterator satisfies the OutputIterator requirements in addition to its own requirements, it is described as mutable.You can help to correct and verify the translation. Click here for instructions.
Exigences
It être un OutputIterator, les instances i et o de It doit:It to be an OutputIterator, instances i and o of It must: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. 'Message':
&r == &++rOriginal: Post: &r == &++rThe 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; return temp;
|
|
*i++ = o |
*i = o; ++i;
|