Espacios de nombres
Variantes
Acciones

Diferencia entre revisiones de «cpp/error/error code/make error code»

De cppreference.com
< cpp‎ | error‎ | error code
(Translated from the English version using Google Translate)
 
m (1 revisión: Translate from the English version)

Revisión de 10:17 25 oct 2012

 
 
Biblioteca de servicios
 
 
std::error_code
Las funciones miembro
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.
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Los observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
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.
make_error_code
Clases de ayuda
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.
 
Definido en el archivo de encabezado <system_error>
error_code make_error_code( std::errc e );
(desde C++11)
Crea valor para el código de error ERRC enumeración e .
Original:
Creates error code value for errc enum e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Equivalente a error_code(static_cast<int>(e), generic_category())
Original:
Equivalent to error_code(static_cast<int>(e), generic_category())
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

e -
el código de error de enumeración para crear código de error para
Original:
error code enum to create error code for
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

Error correspondiente a e código .
Original:
Error code corresponding to e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Excepciones

Especificación noexcept:  
noexcept
  (desde C++11)