std::packaged_task::~packaged_task
Da 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() | ||
Abandona o estado compartilhado e destrói o objeto de uma tarefa armazenada.
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.
Um costume, se o estado compartilhado é abandonada antes de ser preparado, uma exceção std::future_error é armazenado com o código de erro std::future_errc::broken_promise).
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.
[editar]Parâmetros
(Nenhum)
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.
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |