error_condition& operator=( const error_condition& other ) noexcept;
|
(1) | (C++11 起) (隐式声明) |
template< class ErrorConditionEnum >
error_condition& operator=( ErrorConditionEnum e ) noexcept; |
(2) | (C++11 起) |
赋值内容给 error_condition 。
other
的内容。e
赋值 error_condition for enum 。等效于调用 make_error_condition() 。不参与重载决议除非 is_error_condition_enum<ErrorConditionEnum>::value 为 true 。other | - | 用以赋值的另一 error_condition |
e | - | 错误条件枚举 |
*this 。