std::error_code::operator=
Da cppreference.com.
< cpp | error | error code
![]() |
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. |
template< class ErrorCodeEnum > error_code& operator=( ErrorCodeEnum e ); |
(dal C++11) | |
Sostituisce il codice di errore e la categoria corrispondente a quelle che rappresentano il codice di errore 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.
You can help to correct and verify the translation. Click here for instructions.
Equivalente a *this = std::make_error_code(e). Il sovraccarico partecipa a risoluzioni sovraccarico solo 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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] Parametri
e | - | codice di errore enum per costruire
Original: error code enum to construct The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
*this
[modifica] Eccezioni
[modifica] Note
Copia-operatore di assegnazione è definito 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Vedi anche
assegna un codice di errore Original: assigns another error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |