◐ Shell
clean mode source ↗

std::error_code::assign – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

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

(seit C++11)

Ersetzt den Inhalt mit dem Fehlercode ec und entsprechende Kategorie ecat

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.

Parameter

ec -

Plattform-abhängige Fehlercode enum zuweisen

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 -

Fehler entsprechenden Kategorie 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.

Rückgabewert

(None)

Original:

(none)

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

Ausnahmen

Siehe auch

weist einen weiteren Fehler-Code

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.


(öffentliche Elementfunktion) [edit]