std::error_code::assign
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<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 correspondanteOriginal:
Replaces the contents with error code
ec and corresponding category ecatThe 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.
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 à
ecOriginal: error category corresponding to ecThe 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.
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) | |