std::packaged_task::~packaged_task
Aus cppreference.com
< cpp | thread | packaged task
![]() | 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. |
~packaged_task() | ||
Verlässt den gemeinsamen Staat und zerstört die gespeicherten Task-Objekt .
Original:
Abandons the shared state and destroys the stored task 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.
Eine übliche, wenn die gemeinsamen Staat aufgegeben wird, bevor es fertig gemacht, wird ein std::future_error Ausnahme mit dem Fehlercode std::future_errc::broken_promise) gespeichert .
Original:
A usual, if the shared state is abandoned before it was made ready, an std::future_error exception is stored with the error code std::future_errc::broken_promise).
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.
[Bearbeiten]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.
[Bearbeiten]Beispiel
This section is incomplete Reason: no example |