std::error_code
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. |
Déclaré dans l'en-tête <system_error>
|
||
class error_code; |
(depuis C++11) | |
std::error_code
est un code d'erreur dépendant de la plateforme. Chaque objet std::error_code
contient une paire de code d'erreur provenant du système d'exploitation, ou d'une interface de bas niveau et un pointeur vers un objet de std::error_category type, qui correspond à l'interface de ladite. Les valeurs de code d'erreur peut être pas unique dans toutes les catégories d'erreur différents .Original:
std::error_code
is a platform-dependent error code. Each std::error_code
object holds a pair of error code originating from the operating system, or some low-level interface and a pointer to an object of type std::error_category, which corresponds to the said interface. The error code values may be not unique across different error categories.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] Fonctions membres
construit un code d'erreur Original: constructs an 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) | |
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 |