std::ostreambuf_iterator::operator=
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. |
<metanoindex/>
<tbody> </tbody> ostreambuf_iterator& operator=( CharT c ) |
||
Si
failed() retours true, insère le caractère c dans la mémoire tampon de flux associé en appelant pbuf->sputc(c), où pbuf est le membre privé de streambuf_type* type. Dans le cas contraire, ne fait rien .Original:
If
failed() returns true, inserts the character c into the associated stream buffer by calling pbuf->sputc(c), where pbuf is the private member of type streambuf_type*. Otherwise, does nothing.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.
Si l'appel à
pbuf->sputc(c) retours Traits::eof, définit l'indicateur de panne () pour vrai .Original:
If the call to
pbuf->sputc(c) returns Traits::eof, sets the failed() flag to true.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.
Paramètres
| c | - | le caractère à insérer
Original: the character to insert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
*this
Exemple
| This section is incomplete |
Voir aussi
écrit un caractère vers la zone de mise et avance le pointeur suivant Original: writes one character to the put area and advances the next pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique de std::basic_streambuf)
| |