operator== (<system_error>)
如果在运算符左侧的对象与右侧,的对象相等测试。
bool operator==(const error_code& _Left, const error_condition& _Right);
bool operator==(const error_condition& _Left, const error_code& _Right);
参数
Parameter |
说明 |
---|---|
_Left |
用于相等要测试的对象。 |
_Right |
用于相等要测试的对象。 |
返回值
true,如果对象相等; false,如果对象不相等。
备注
此函数返回 _Left.category() == _Right.category() &;AMP_amp; _Left.value() == _Right.value()。
要求
标头: <system_error>
命名空间: std