◐ Shell
clean mode source ↗

std::shared_future - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<future>

template< class T > class shared_future;

(1) (dal C++11)

template< class T > class shared_future<T&>;

(2) (dal C++11)

template<> class shared_future<void>;

(3) (dal C++11)

Membri funzioni

costruisce l'oggetto futuro

Original:

constructs the future object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico)

distrugge l'oggetto futuro

Original:

destructs the future object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico)

assegna il contenuto

Original:

assigns the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico)

Ottenere il risultato

Original:

Getting the result

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

restituisce il risultato

Original:

returns the result

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]

Stato

Original:

State

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Verifica se il futuro è stato condiviso con una promessa

Original:

checks if the future has shared state with a promise

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]

attende il risultato diventi disponibile

Original:

waits for the result to become available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]
waits for the result, returns if it is not available for the specified timeout duration
(metodo pubblico) [modifica]

aspetta il risultato, restituisce se non è disponibile fino punto di tempo specificato è stato raggiunto

Original:

waits for the result, returns if it is not available until specified time point has been reached

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]