std::future::future
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> future(); |
(1) | (dal C++11) |
future( future&& other ); |
(2) | (dal C++11) |
future( const future& other ) = delete; |
(3) | (dal C++11) |
Costruisce un oggetto
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)
Costruttore di default. Costruisce un
std::future senza stato condiviso. Dopo la costruzione, 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)
Sposta costruttore. Costruisce una
std::future con lo stato condiviso di other usando la semantica spostamento. Dopo la costruzione, 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.
Parametri
| other | - | un altro
std::future di acquisire stato condiviso daOriginal: 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. |
Eccezioni
1-2)