std::future::future
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> future(); |
(1) | (depuis C++11) |
future( future&& other ); |
(2) | (depuis C++11) |
future( const future& other ) = delete; |
(3) | (depuis C++11) |
Construit un objet
std::future .Original:
Constructs a
std::future 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)
Constructeur par défaut. Construit un
std::future sans état partagé. Après la construction, valid() == false .Original:
Default constructor. Constructs a
std::future with no shared state. After construction, valid() == false.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)
Déplacez constructeur. Construit un
std::future avec l'état partagé de other en utilisant la sémantique de déplacement. Après la construction, other.valid() == false .Original:
Move constructor. Constructs a
std::future with the shared state of other using move semantics. After construction, other.valid() == false.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 | - | une autre
std::future d'acquérir de l'état partagéOriginal: another std::future to acquire shared state fromThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Exceptions
1-2)