◐ Shell
clean mode source ↗

std::basic_ios::set_rdbuf – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

protected: void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb );

Legt den zugehörigen Stream Puffer sb ohne Löschen 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.

Diese Memberfunktion geschützt ist: es wird durch die Bewegung Konstruktoren der abgeleiteten Ströme wie heißt 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 können .

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.

Parameter

sb -

Strompuffers zu verknüpfen

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.

Rückgabewert

(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.

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.

Beispiel

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) [edit]