std::future::operator= – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(1) | (seit C++11) |
|
|
(2) | (seit C++11) |
Weist den Inhalt einer anderen Zukunft Objekt .
Original:
Assigns the contents of another future object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Gibt alle freigegebenen Zustand und Bewegung ordnet die Inhalte other um *this. Nach der Zuweisung wird other.valid() == false und this->valid() ergeben den gleichen Wert wie other.valid() vor der Zuweisung .
Original:
Releases any shared state and move-assigns the contents of other to *this. After the assignment, other.valid() == false and this->valid() will yield the same value as other.valid() before the assignment.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2) std::future is not CopyAssignable.
Parameter
| other | - | a Original: a The text has been machine-translated via Google Translate. |
Rückgabewert
*this