std::future_category
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 <future>
|
||
| const std::error_category& future_category(); |
(desde C++11) | |
Obtiene una referencia al objeto de error de categoría estática de los errores relacionados con los futuros y las promesas. El objeto es necesaria para anular el error_category::name() función virtual para devolver un puntero a la cadena "future". Se utiliza para identificar los códigos de error previstos en las excepciones del tipo std::future_error .
Original:
Obtains a reference to the static error category object for the errors related to futures and promises. The object is required to override the virtual function error_category::name() to return a pointer to the string "future". It is used to identify error codes provided in the exceptions of type std::future_error.
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
(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] Valor de retorno
una referencia al objeto estático de tipo no especificado de tiempo de ejecución, derivado de std::error_category .
Original:
a reference to the static object of unspecified runtime type, derived from 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.
[editar] Excepciones
[editar] Ejemplo
| Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
| (C++11) |
identifica los códigos de error en el futuro Original: identifies the future error codes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (enum) |
| (C++11) |
informa de un error relacionado con futuros o promesas Original: reports an error related to futures or promises 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) |

