std::error_code::operator= — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
Remplace le code d'erreur et la catégorie correspondant à ceux qui représentent le code d'erreur enum e .
Original:
Replaces the error code and corresponding category with those representing error code enum e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Equivalent à *this = std::make_error_code(e). La surcharge participe à des résolutions de surcharge seulement si std::is_error_code_enum<ErrorCodeEnum>::value == true .
Original:
Equivalent to *this = std::make_error_code(e). The overload participates in overload resolutions only if std::is_error_code_enum<ErrorCodeEnum>::value == true.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| e | - | code d'erreur enum à construire Original: error code enum to construct The text has been machine-translated via Google Translate. |
Retourne la valeur
*this
Exceptions
Notes
Copier-opérateur d'affectation est définie implicitement .
Original:
Copy-assignment operator is defined implicitly.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Voir aussi
assigne un autre code d'erreur Original: assigns another error code The text has been machine-translated via Google Translate. (fonction membre publique) [edit] | |