std::ostreambuf_iterator
De 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. |
Déclaré dans l'en-tête <iterator>
|
||
template< class CharT, class Traits = std::char_traits<CharT>> class ostreambuf_iterator : public std::iterator<std::output_iterator_tag, |
||
std::ostreambuf_iterator
est un itérateur de sortie en un seul passage qui écrit caractères successifs dans l'objet std::basic_streambuf pour lequel il est construit. L'opération d'écriture proprement dite s'effectue lorsque l'itérateur (si déréférencé ou non) est assigné. L'incrémentation du std::ostreambuf_iterator
est un no-op .Original:
std::ostreambuf_iterator
is a single-pass output iterator that writes successive characters into the std::basic_streambuf object for which it was constructed. The actual write operation is performed when the iterator (whether dereferenced or not) is assigned to. Incrementing the std::ostreambuf_iterator
is a no-op.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.
Dans une application typique, les éléments de données sont uniquement des
std::ostreambuf_iterator
un pointeur vers la std::basic_streambuf
associé et un indicateur booléen indiquant si la fin de l'état de fichier a été atteinte .Original:
In a typical implementation, the only data members of
std::ostreambuf_iterator
are a pointer to the associated std::basic_streambuf
and a boolean flag indicating if the the end of file condition has been reached.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.
Sommaire |
[modifier] Types de membres
Type du membre | Définition |
char_type
|
CharT
|
traits_type
|
Traits
|
streambuf_type
|
std::basic_streambuf<CharT, Traits> |
ostream_type
|
std::basic_ostream<CharT, Traits> |
[modifier] Fonctions membres
construit un nouveau ostreambuf_iterator Original: constructs a new ostreambuf_iterator The text has been machine-translated via |