std::thread::operator=
De 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 ); |
(depuis C++11) | |
Affecte l'état de
other à *this en utilisant la sémantique de déplacement .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.
Si
*this a encore un filetage associé marche (joinable() == true), std::terminate() est appelé .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.
Paramètres
| other | - | un autre objet thread à affecter à cet objet thread
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. |
Retourne la valeur
*this