void assign(int val, const error_category& cat) noexcept;
template <class ErrorCodeEnum>
error_code& operator=(ErrorCodeEnum e) noexcept;
Remarks: This operator shall not participate in overload resolution unless
is_Βerror_Βcode_Βenum_Βv<ErrorCodeEnum> is true.
void clear() noexcept;