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 dfaut. Construit un
std::future sans tat partag. Aprs 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)
Dplacez constructeur. Construit un
std::future avec l'tat partag de other en utilisant la smantique de dplacement. Aprs 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.
Paramtres
| other | - | une autre
std::future d'acqurir de l'tat partagOriginal: 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)