◐ Shell
clean mode source ↗

std::error_condition - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<system_error>

class error_condition;

(desde C++11)

std::error_condition é um código de erro independente de plataforma. Como std::error_code, ele é identificado exclusivamente por um valor inteiro e um std::error_category, mas ao contrário std::error_code, o valor não é dependente de 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.

Uma implementação típica tem um membro de dados inteiro (o valor) e um ponteiro para um 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.

Funções de membro

constrói uma 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.


(função pública membro)

substitui o conteúdo de um 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.


(função pública membro)

substitui o conteúdo de um 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.


(função pública membro)

define o error_condition para 0 valor em 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.


(função pública membro)

obtém o valor da 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.


(função pública membro)

obtém o 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.


(função pública membro)

obtém a seqüência 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.


(função pública membro)

verifica se o valor é diferente de 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.


(função pública membro)

Não-membros funções

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


(função)

cria um objeto condição de erro de 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.


(função) [edit]

Classes auxiliares

identifica uma enumeração como um 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.


(modelo de classe) [edit]

Veja também

possui um código de erro depende da 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.


(classe) [edit]

classe base para as categorias de erro

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) [edit]