Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Assigns a new enumeration value to the error_code object.
template<class _Enum>
typename enable_if<is_error_code_enum<_Enum>::value,
error_code>::type&
operator=(_Enum _Errcode);
Parameters
Parameter |
Description |
|---|---|
_Errcode |
The enumeration value to assign to the error_code object. |
Return Value
A reference to the error_code object that is being assigned the new enumeration value by the member function.
Remarks
The member operator stores (value_type)_Errcode as the error code value and a pointer to the generic_category. It returns *this.
Requirements
Header: <system_error>
Namespace: std