std::basic_ios::set_rdbuf
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> protected: void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb ); |
||
Legt den zugehrigen Stream Puffer
sb ohne Lschen ihrer Fehlerzustand .Original:
Sets the associated stream buffer to
sb without clearing its error state.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.
Diese Memberfunktion geschtzt ist: es wird durch die Bewegung Konstruktoren der abgeleiteten Strme wie heit std::basic_ofstream oder std::basic_istringstream, als der letzte Schritt nach dem Bau der Basisklasse und nach dem Umzug den Strom Puffer: nur die abgeleiteten Stream-Klasse wei, wie man richtig zu bewegen der Strom Puffer, aber std::basic_ios muss bewusst gemacht des Baches neuen Standort werden, so dass die ffentliche Member-Funktionen zugreifen knnen .
Original:
This member function is protected: it is called by the move constructors of the derived streams such as std::basic_ofstream or std::basic_istringstream, as the final step after constructing the base class and after moving the stream buffer: only the most derived stream class knows how to correctly move the stream buffer, but std::basic_ios needs to be made aware of the stream's new location so that its public member functions can access it.
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
| sb | - | Strompuffers zu verknpfen
Original: stream buffer to associate to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rckgabewert
(None)
Original:
(none)
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.
Ausnahmen
(None)
Original:
(none)
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.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
verwaltet verbundenen Strom-Puffer Original: manages associated stream buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (ffentliche Elementfunktion) | |