Namespace
Varianti

cpp/error/error code/assign: differenze tra le versioni

Da cppreference.com.
< cpp‎ | error‎ | error code
(Translated from the English version using Google Translate)
 
m (Use {{lc}}. Update links. Various fixes.)
 
(2 revisioni intermedie di 2 utenti non mostrate)
Riga 2: Riga 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|Sostituisce il contenuto con il codice di errore e {{tt|ec}} {{tt|ecat}} categoria corrispondente|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}}
 
{{tr|Sostituisce il contenuto con il codice di errore e {{tt|ec}} {{tt|ecat}} categoria corrispondente|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}}
  
 
===Parametri===
 
===Parametri===
{{param list begin}}
+
{{begin}}
{{param list item | ec |{{tr| dipende dalla piattaforma codice di errore enum da assegnare| platform-dependent error code enum to assign}}}}
+
{{| ec |{{tr| dipende dalla piattaforma codice di errore enum da assegnare| platform-dependent error code enum to assign}}}}
{{param list item | ecat |{{tr| Errore di categoria corrispondente a {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
+
{{| ecat |{{tr| Errore di categoria corrispondente a {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
{{param list end}}
+
{{end}}
  
 
===Valore di ritorno===
 
===Valore di ritorno===
Riga 23: Riga 23:
  
 
===Vedi anche===
 
===Vedi anche===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/error/error_code/dcl list operator{{=}}}}
+
{{| cpp/error/error_code/operator{{=}}}}
{{dcl list end}}
+
{{end}}
 +
 
 +
 +
 +
 +
 +
 +
 +
 +

Versione attuale delle 13:07, 2 lug 2013

 
 
Utilità libreria
Tipo di supporto (basic types, RTTI, type traits)
Gestione della memoria dinamica
La gestione degli errori
Programma di utilità
Funzioni variadic
Data e ora
Funzione oggetti
initializer_list(C++11)
bitset
hash(C++11)
Gli operatori relazionali
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Coppie e tuple
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Swap, in avanti e spostare
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
La gestione degli errori
Gestione delle eccezioni
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)
Gestione delle eccezioni fallimenti
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(deprecato)
bad_exception
unexpected_handler(deprecato)
get_unexpected(C++11)(deprecato)
set_unexpected(deprecato)
Eccezione categorie
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click