◐ Shell
clean mode source ↗

std::packaged_task::valid — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

bool valid() const;

(depuis C++11)

Vérifie que *this a un état partagé .

Original:

Checks whether *this has a shared state.

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

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

true si *this a un état partagé, false autrement .

Original:

true if *this has a shared state, false otherwise.

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

Exceptions