共用方式為


operator!= (<system_error>)

測試,如果在運算子左方的物件不等於右邊的物件。

bool operator!=(const error_code& _Left, const error_condition& _Right);
bool operator!=(const error_condition& _Left, const error_code& _Right);

參數

參數

說明

_Left

指定是否要測試的物件。

_Right

指定是否要測試的物件。

傳回值

true ,如果在 _Left 中傳遞的物件不等於 _Right中傳遞的物件;否則 false

備註

這個函式會傳回 !(_Left == _Right)。

請參閱

參考

<system_error>