std::future_category
Aus 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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <future>
|
||
const std::error_category& future_category(); |
(seit C++11) | |
Ruft einen Verweis auf den statischen Fehler Kategorie-Objekt für zukünftige Objekt Fehler. Das Objekt ist erforderlich, um die virtuelle Funktion
error_category::name() überschreiben, um einen Zeiger auf den String "future" zurückzukehren. Es wird verwendet, um Fehler-Codes in den Ausnahmen des Typs std::future_error geben sollen .Original:
Obtains a reference to the static error category object for future object errors. 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.
Parameter
(None)
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.
Rückgabewert
Ein Verweis auf den statischen Objekt unbestimmter Laufzeit-Typ, von std::error_category abgeleitet .
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.
Ausnahmen
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
(C++11) |
meldet einen Fehler im Zusammenhang mit Futures oder Versprechungen 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. (Klasse) |
(C++11) |
auf die künftigen Fehlercodes 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) |