std::future::future
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> future(); |
(1) | (seit C++11) |
future( future&& other ); |
(2) | (seit C++11) |
future( const future& other ) = delete; |
(3) | (seit C++11) |
Erzeugt ein
std::future Objekt .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)
Standardkonstruktor. Erzeugt ein
std::future ohne gemeinsamen Staat. Nach dem Bau 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)
Bewegen Konstruktor. Erzeugt ein
std::future mit dem gemeinsamen Stand der other mit move-Semantik. Nach dem Bau 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.
Parameter
| other | - | anderen
std::future auf freigegebene Zustand aus zu erwerbenOriginal: 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. |
Ausnahmen
1-2)