std::error_condition — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <system_error> |
||
|
|
(depuis C++11) | |
std::error_condition est un code d'erreur indépendant de la plateforme. Comme std::error_code, il est identifié de façon unique par une valeur entière et une std::error_category, mais contrairement à std::error_code, la valeur n'est pas dépendant de la plateforme .
Original:
std::error_condition is a platform-independent error code. Like std::error_code, it is uniquely identified by an integer value and a std::error_category, but unlike std::error_code, the value is not platform-dependent.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Une implémentation standard est titulaire d'un membre de données entier (la valeur) et un pointeur vers un std::error_category .
Original:
A typical implementation holds one integer data member (the value) and a pointer to an std::error_category.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Fonctions membres
construit un error_condition Original: constructs an error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
remplace le contenu d'un error_condition Original: replaces the contents of an error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
remplace le contenu d'un error_condition Original: replaces the contents of an error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
définit le error_condition à la valeur 0 dans generic_category Original: sets the error_condition to value 0 in generic_category The text has been machine-translated via Google Translate. (fonction membre publique) | |
obtient la valeur de la error_condition Original: obtains the value of the error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
obtient la error_category pour cette error_condition Original: obtains the error_category for this error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
obtient la chaîne explicative pour cette error_condition Original: obtains the explanatory string for this error_condition The text has been machine-translated via Google Translate. (fonction membre publique) | |
vérifie si la valeur est non nulle Original: checks if the value is non-zero The text has been machine-translated via Google Translate. (fonction membre publique) | |
Fonctions annexes
compare error_conditions et error_codes Original: compares error_conditions and error_codes The text has been machine-translated via Google Translate. (fonction) | |
crée un objet condition d'erreur de error_category spécifié Original: creates an error condition object of specified error_category The text has been machine-translated via Google Translate. (fonction) [edit] | |
Classes d'aide
identifie une énumération comme un std::error_condition Original: identifies an enumeration as an std::error_condition The text has been machine-translated via Google Translate. (classe générique) [edit] | |
Voir aussi
détient un code d'erreur dépendant de la plate-forme Original: holds a platform-dependent error code The text has been machine-translated via Google Translate. (classe) [edit] | |
classe de base pour les catégories d'erreur Original: base class for error categories The text has been machine-translated via Google Translate. (classe) [edit] | |