std::error_code::operator= - 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. |
<metanoindex/>
<tbody> </tbody>
|
|
(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.
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.
Parametri
| e | - | codice di errore enum per costruire Original: error code enum to construct The text has been machine-translated via Google Translate. |
Valore di ritorno
*this
Eccezioni
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.
Vedi anche
assegna un codice di errore Original: assigns another error code The text has been machine-translated via Google Translate. (metodo pubblico) [modifica] | |