std::error_code::operator=
Aus cppreference.com
< cpp | error | error code
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template< class ErrorCodeEnum > error_code& operator=( ErrorCodeEnum e ); |
(seit C++11) | |
Ersetzt den Fehlercode und die entsprechende Kategorie mit denen repräsentieren Fehlercode 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.
Entspricht *this = std::make_error_code(e). Die Überlast beteiligt Überlastung Beschlüsse nur, wenn 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.
Inhaltsverzeichnis |
[Bearbeiten] Parameter
e | - | Fehlercode enum zu konstruieren
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. |
[Bearbeiten] Rückgabewert
*this
[Bearbeiten] Ausnahmen
[Bearbeiten] Notes
Copy-Zuweisungsoperator wird implizit definiert .
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.
[Bearbeiten] 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) |