cpp/error/error code/assign : Différence entre versions
De cppreference.com
< cpp | error | error code
m (r2.7.3) (robot Ajoute : de, en, es, it, ja, pt, ru, zh) |
m (Use {{lc}}. Update links. Various fixes.) |
||
Ligne 2 : | Ligne 2 : | ||
{{cpp/error/error_code/title|assign}} | {{cpp/error/error_code/title|assign}} | ||
{{cpp/error/error_code/navbar}} | {{cpp/error/error_code/navbar}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| =c++11 | 1= |
void assign( int ec, const error_category& ecat ); | void assign( int ec, const error_category& ecat ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
{{tr|Remplace le contenu de {{tt|ec}} code d'erreur et {{tt|ecat}} catégorie correspondante|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}} | {{tr|Remplace le contenu de {{tt|ec}} code d'erreur et {{tt|ecat}} catégorie correspondante|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}} | ||
===Paramètres=== | ===Paramètres=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| ec |{{tr| dépendant de la plateforme d'erreur de code enum attribuer| platform-dependent error code enum to assign}}}} |
− | {{ | + | {{| ecat |{{tr| catégorie d'erreur correspondant à {{tt|ec}}| error category corresponding to {{tt|ec}}}}}} |
− | {{ | + | {{end}} |
===Retourne la valeur=== | ===Retourne la valeur=== | ||
Ligne 23 : | Ligne 23 : | ||
===Voir aussi=== | ===Voir aussi=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/error/error_code/operator{{=}}}} |
− | {{ | + | {{end}} |
[[de:cpp/error/error code/assign]] | [[de:cpp/error/error code/assign]] |
Version actuelle en date du 2 juillet 2013 à 04:54
![]() |
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) |