◐ Shell
clean mode source ↗

std::error_condition - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<system_error>

class error_condition;

(dal C++11)

std::error_condition è una piattaforma indipendente codice di errore. Come std::error_code, è identificato univocamente da un valore intero e un std::error_category, ma a differenza std::error_code, il valore non dipende dalla piattaforma.

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.

Un'implementazione tipica contiene un elemento di dati integer (il valore) e un puntatore 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.

Membri funzioni

costruisce 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.


(metodo pubblico)

sostituisce il contenuto di 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.


(metodo pubblico)

sostituisce il contenuto di 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.


(metodo pubblico)

imposta il valore a 0 error_condition in 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.


(metodo pubblico)

ottiene il valore del 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.


(metodo pubblico)

ottiene il error_category per questo 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.


(metodo pubblico)

ottiene la stringa esplicativa per questo 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.


(metodo pubblico)

controlla se il valore è diverso da zero

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.


(metodo pubblico)

Non membri funzioni

confronta error_conditions e 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.


(funzione)

crea un oggetto condizione di errore di error_category specificato

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.


(funzione) [modifica]

Helper classi

identifica una enumerazione come 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.


(classe template) [modifica]

Vedi anche

in possesso di un dipendente dalla piattaforma codice di errore

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.


(classe) [modifica]

classe di base per le categorie di errore

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.


(classe) [modifica]