[ Web Proxy ]
URL:
Viewing: http://pt.cppreference.com/cpp/error/error_code/error_code [Back]  [Original]

std::error_code::error_code - cppreference.com
cppreference.com
Espaos nominais
Variantes

std::error_code::error_code

De cppreference.com

<metanoindex/>

 
 
Biblioteca de utilitrios
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memria dinmica
De tratamento de erros
Utilidades do programa
Variadic funes
Data e hora
Objetos de funo
(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Troque, avanar e avanar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
 
De tratamento de erros
Manipulao de exceo
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulao de falhas de exceo
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(obsoleta)
(C++11)(obsoleta)
(obsoleta)
Categorias de exceo
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cdigos de erro
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cdigos de erro
Afirmaes
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
instalao system_error
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
 
std::error_code
Funes de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::error_code
error_code::operator=
error_code::assign
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::clear
Observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::value
error_code::category
error_code::default_error_condition
error_code::message
error_code::operator bool
No-membros funes
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classes auxiliares
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
error_code();
(1) (desde C++11)
error_code( int ec, const error_category& ecat );
(2) (desde C++11)
template< class ErrorCodeEnum > error_code( ErrorCodeEnum e );
(3) (desde C++11)

Constructs new error code.

1) Constructs error code with default value. Equivalent to error_code(0, std::system_category()).
2) Constructs error code with ec as the platform-dependent error code and ecat as the corresponding error category.
3) Constructs error code from an error code enum e. Equivalent to *this = std::make_error_code(e). The overload participates in overload resolutions only if std::is_error_code_enum<ErrorCodeEnum>::value == true.

Parmetros

ec - platform dependent error code to construct with
ecat -
categoria de erro correspondente a ec
Original:
error category corresponding to ec
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
e - error code enum to construct with

Excees

noexcept specification:  
<tbody> </tbody>
noexcept
  (desde C++11)

Web Proxy Viewer  |  New URL  |  Original Page