◐ Shell
clean mode source ↗

std::error_code::assign - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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

(desde C++11)

Substitui o conteúdo com ec código de erro e ecat categoria correspondente

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.

Parâmetros

ec -

dependente de plataforma de código de erro enum atribuir

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 -

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.

Valor de retorno

(Nenhum)

Original:

(none)

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

Exceções

Veja também

designa um outro código de erro

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.


(função pública membro) [edit]