◐ Shell
clean mode source ↗

std::error_code::assign — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

void assign( int ec, const error_category& ecat );

(depuis C++11)

Remplace le contenu de ec code d'erreur et ecat catégorie correspondante

Original:

Replaces the contents with error code ec and corresponding category ecat

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

Paramètres

ec -

dépendant de la plateforme d'erreur de code enum attribuer

Original:

platform-dependent error code enum to assign

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

ecat -

catégorie d'erreur correspondant à ec

Original:

error category corresponding to ec

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

Voir aussi

assigne un autre code d'erreur

Original:

assigns another error code

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


(fonction membre publique) [edit]