std::error_code::assign
De cppreference.com
< cpp | error | error code
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
void assign(int ec, const error_category& ecat ); | (desde C++11) | |
Reemplaza el contenido
ec
con el código de error y ecat
categoría correspondienteOriginal:
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.
Contenido |
[editar]Parámetros
ec | - | dependiente de la plataforma de código de error de enumeración asignar 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 | - | error correspondiente a ec categoríaOriginal: 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. |
[editar]Valor de retorno
(Ninguno)
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.
[editar]Excepciones
[editar]Ver también
asigna otro código de error 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. (función miembro pública) |