std::error_code::assign
De cppreference.com
< cpp | error | error code
![]() |
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. |
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 ecat
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.
Sommaire |
[modifier] 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. |
[modifier] 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.
[modifier] Exceptions
[modifier] 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) |