std::packaged_task::get_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> std::future<R> get_future(); |
(seit C++11) | |
Gibt eine
future die gleichen gemeinsamen Staat als *this Aktie .Original:
Returns a
future which shares the same shared state as *this.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.
get_future kann nur einmal für jede packaged_task aufgerufen werden .Original:
get_future can be called only once for each packaged_task.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
(None)
Original:
(none)
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.
Rückgabewert
Eine Zukunft, die den gleichen gemeinsamen Staat als
*this Aktie .Original:
A future which shares the same shared state as
*this.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.
Ausnahmen
std::future_error auf den folgenden Fehler:
Original:
std::future_error on the following error conditions:
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.
- Der gemeinsame Staat hat bereits über einen Aufruf
get_futureabgerufen wurde. Der Fehler Kategorie wird future_already_retrieved gesetzt .Original:The shared state has already been retrieved via a call toget_future. The error category is set to future_already_retrieved.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. *thishat keinen gemeinsamen Staat. Der Fehler Kategorie wird no_state gesetzt .Original:*thishas no shared state. The error category is set to no_state.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.