std::thread::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> thread& operator=( thread&& other ); |
(seit C++11) | |
Weist den Zustand der
other um *this mit move-Semantik .Original:
Assigns the state of
other to *this using move semantics.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
*this hat noch einen zugehörigen laufenden Faden (dh joinable() == true) wird std::terminate() genannt .Original:
If
*this still has an associated running thread (i.e. joinable() == true), std::terminate() is called.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
| other | - | ein weiterer Thread-Objekt zu diesem Thread-Objekt zuweisen
Original: another thread object to assign to this thread object 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