◐ Shell
clean mode source ↗

std::error_code::assign - 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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

void assign( int ec, const error_category& ecat );

(dal C++11)

Sostituisce il contenuto con il codice di errore e ec ecat categoria corrispondente

Original:

Replaces the contents with error code ec and corresponding category ecat

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parametri

ec -

dipende dalla piattaforma codice di errore enum da assegnare

Original:

platform-dependent error code enum to assign

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ecat -

Errore di categoria corrispondente 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.

Valore di ritorno

(Nessuno)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Eccezioni

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