std::basic_iostream::operator=
Aus cppreference.com
< cpp | io | basic iostream
![]() |
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. |
basic_iostream& operator=( const basic_iostream& other ) = delete; |
(1) | |
protected: basic_iostream& operator=( basic_iostream&& other ); |
(2) | (seit C++11) |
Weist ein anderes Stream-Objekt .
Original:
Assigns another stream object.
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.
1)
Kopieren Zuordnung nicht erlaubt .
Original:
Copy assignment is not allowed.
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.
2)
Verschieben ordnet weitere Stream-Objekt. Effektiv nennt swap(rhs). Dieser Schritt Zuweisungsoperator geschützt ist: es wird durch die Bewegung Zuweisungsoperatoren der abgeleiteten Stream-Klassen genannt std::basic_stringstream und .. std::basic_fstream die wissen, wie man richtig bewegen zuweisen die zugehörigen Stream-Puffer
Original:
Move assigns another stream object. Effectively calls swap(rhs). This move assignment operator is protected: it is called by the move assignment operators of the derived stream classes std::basic_stringstream and std::basic_fstream which know how to properly move-assign the associated stream buffers.
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.
[Bearbeiten] Parameter
other | - | ein anderer Strom zuordnen Zustand
Original: another stream to assign state of The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Rückgabewert
*this
[Bearbeiten] Siehe auch
Baut das Objekt Original: constructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) |