Espaces de noms
Variantes
Affichages
Actions

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}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item | notes={{mark since c++11}} | 1=
+
{{| =c++11 | 1=
 
void assign( int ec, const error_category& ecat );
 
void assign( int ec, const error_category& ecat );
 
}}
 
}}
{{ddcl list end}}
+
{{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===
{{param list begin}}
+
{{begin}}
{{param list item | ec |{{tr| dépendant de la plateforme d'erreur de code enum attribuer| platform-dependent error code enum to assign}}}}
+
{{| ec |{{tr| dépendant de la plateforme d'erreur de code enum attribuer| platform-dependent error code enum to assign}}}}
{{param list item | ecat |{{tr| catégorie d'erreur correspondant à {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
+
{{| ecat |{{tr| catégorie d'erreur correspondant à {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
{{param list end}}
+
{{end}}
  
 
===Retourne la valeur===
 
===Retourne la valeur===
Ligne 23 : Ligne 23 :
  
 
===Voir aussi===
 
===Voir aussi===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/error/error_code/dcl list operator{{=}}}}
+
{{| cpp/error/error_code/operator{{=}}}}
{{dcl list end}}
+
{{end}}
  
 
[[de:cpp/error/error code/assign]]
 
[[de:cpp/error/error code/assign]]

Version actuelle en date du 2 juillet 2013 à 04:54

 
 
 
Erreur de manipulation
La gestion des exceptions
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exception
uncaught_exception
exception_ptr (C++11)
make_exception_ptr (C++11)
current_exception (C++11)
rethrow_exception (C++11)
nested_exception (C++11)
throw_with_nested (C++11)
rethrow_if_nested (C++11)
Défaillances de gestion des exceptions
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
terminate
terminate_handler
get_terminate (C++11)
set_terminate
unexpected (obsolète)
bad_exception
unexpected_handler (obsolète)
get_unexpected (C++11) (obsolète)
set_unexpected (obsolète)
Catégories d'exception
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
Les codes d'erreur
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Les codes d'erreur
errno
Les assertions
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
assert
system_error installation
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_category (C++11)
generic_category (C++11)
system_category (C++11)
error_condition (C++11)
errc (C++11)
error_code (C++11)
system_error (C++11)
 
std::error_code
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::error_code
error_code::operator=
error_code::assign
Modificateurs
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::clear
Des observateurs
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::value
error_code::category
error_code::default_error_condition
error_code::message
error_code::operator bool
Tiers fonctions
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator<
operator==
operator!=
operator<<
make_error_code
Classes d'aide
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_error_code_enum
hash<std::error_code>
 
void assign( int ec, const error_category& ecat );
(depuis C++11)
Remplace le contenu de ec code d'erreur et ecat catégorie correspondante
Original:
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.

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.

[modifier] Exceptions

noexcept specification:  
noexcept
   (depuis C++11)

[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) [edit]