std::ostreambuf_iterator::operator=
Aus 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 ) |
||
Wenn
failed() kehrt true, fügt das Zeichen c in den zugehörigen Strompuffers indem pbuf->sputc(c), wo pbuf ist die private Member des Typs streambuf_type*. Ansonsten tut nichts .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.
Wenn der Aufruf
pbuf->sputc(c) kehrt Traits::eof setzt das ausgefallene ()-Flag auf true .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.
Parameter
| c | - | das Zeichen eingefügt werden soll
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. |
Rückgabewert
*this
Beispiel
| This section is incomplete |
Siehe auch
schreibt ein Zeichen der Put-Bereich und Fortschritte der nächste Zeiger 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. (öffentliche Elementfunktion of std::basic_streambuf)
| |