std::future_category
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <future>
|
||
const std::error_category& future_category(); |
(dal C++11) | |
Ottiene un riferimento all'oggetto statico categoria di errore per gli errori degli oggetti futuri. L'oggetto è necessario eseguire l'override della funzione virtuale
error_category::name() per restituire un puntatore alla stringa "future". Viene utilizzato per identificare i codici di errore previsti nelle eccezioni di cui std::future_error tipo.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.
Parametri
(Nessuno)
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.
Valore di ritorno
Un riferimento all'oggetto statico del tipo di runtime non specificato, derivato da 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.
Eccezioni
Esempio
| This section is incomplete Reason: no example |
Vedi anche
(C++11) |
segnala un errore relativo ai futures o promesse 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. (classe) |
(C++11) |
individua i codici di errore in 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) |