std::error_code::operator= - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(desde C++11) | |
Substitui o código de erro e categoria correspondente com aqueles que representam o código de erro enum e.
Original:
Replaces the error code and corresponding category with those representing error code enum e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Equivalente a *this = std::make_error_code(e). A sobrecarga participa em resoluções sobrecarga somente se std::is_error_code_enum<ErrorCodeEnum>::value == true.
Original:
Equivalent to *this = std::make_error_code(e). The overload participates in overload resolutions only if std::is_error_code_enum<ErrorCodeEnum>::value == true.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| e | - | código de erro enum para construir Original: error code enum to construct The text has been machine-translated via Google Translate. |
Valor de retorno
*this
Exceções
Notas
Cópia atribuição operador é definido implicitamente.
Original:
Copy-assignment operator is defined implicitly.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Veja também
designa um outro código de erro Original: assigns another error code The text has been machine-translated via Google Translate. (função pública membro) [edit] | |