std::error_condition
De cppreference.com
|
|
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. |
| Definido en la cabecera <system_error>
|
||
| class error_condition; |
(desde C++11) | |
std::error_condition es un código de error independiente de la plataforma. Al igual que std::error_code, se identifica por un número entero y una std::error_category, pero a diferencia std::error_code, el valor no depende de la plataforma .Original:
std::error_condition is a platform-independent error code. Like std::error_code, it is uniquely identified by an integer value and a std::error_category, but unlike std::error_code, the value is not platform-dependent.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.
Una implementación típica tiene un miembro de datos entero (el valor) y un puntero a un std::error_category .
Original:
A typical implementation holds one integer data member (the value) and a pointer to an std::error_category.
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] Las funciones miembro
| construye un error_condition Original: constructs an error_condition 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úblico) | |
| sustituye el contenido de un error_condition Original: replaces the contents of an error_condition 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úblico) | |
| sustituye el contenido de un error_condition Original: replaces the contents of an error_condition 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úblico) | |
| establece el valor 0 a error_condition en generic_category Original: sets the error_condition to value 0 in generic_category 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úblico) | |
| obtiene el valor de la error_condition Original: obtains the value of the error_condition 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úblico) | |
| obtiene el error_category para este error_condition Original: obtains the error_category for this error_condition 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úblico) | |
| obtiene la cadena explicativa para este error_condition Original: obtains the explanatory string for this error_condition 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úblico) | |
| comprueba si el valor es distinto de cero Original: checks if the value is non-zero 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úblico) |
[editar] Terceros funciones
| compara error_conditions y error_codes Original: compares error_conditions and error_codes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
| (C++11) |
crea un objeto de condición de error error_category especificado Original: creates an error condition object of specified error_category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
[editar] Clases de ayuda
| (C++11) |
identifica una enumeración como un std::error_condition Original: identifies an enumeration as an std::error_condition The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de clase) |
[editar] Ver también
| (C++11) |
tiene un código de error dependiente de la plataforma Original: holds a platform-dependent error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (clase) |
| (C++11) |
clase base para las categorías de error Original: base class for error categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (clase) |

