◐ Shell
clean mode source ↗

std::error_code::clear — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

void clear();

(depuis C++11)

Remplace le code d'erreur et catégorie d'erreur avec les valeurs par défaut .

Original:

Replaces the error code and error category with default values.

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

Equivalent à *this = error_code(0, std::system_category()) .

Original:

Equivalent to *this = error_code(0, std::system_category()).

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

(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.

Exceptions