cpp/thread/packaged task/~packaged task: differenze tra le versioni
Da cppreference.com.
< cpp | thread | packaged task
P12 (Discussione | contributi) m (una revisione importata: Translate from the English version) |
m (r2.7.3) (Bot: Aggiungo de, en, es, fr, ja, pt, ru, zh) |
||
Riga 20: | Riga 20: | ||
| output= | | output= | ||
}} | }} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Versione delle 20:19, 2 nov 2012
![]() |
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. |
~packaged_task() |
||
Abbandona lo stato condiviso e distrugge l'oggetto dell'attività memorizzati.
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.
Un solito, se lo stato condiviso viene abbandonata prima che fosse preparato, un'eccezione std::future_error viene memorizzato con il codice di errore 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.
Parametri
(Nessuno)
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.
Esempio
This section is incomplete Reason: no example |