共用方式為


error_code::operator!=

比較測試在 error_code 物件之間。

bool operator!=(const error_code& _Right) const;

參數

參數

說明

_Right

指定是否要測試的物件。

傳回值

true ,如果 error_code 物件不相等則為 _Right中傳遞的 error_code 物件;否則 false

備註

成員運算子會傳回 !(*this == _Right)。

需求

標頭<系統錯誤>

命名空間: std

請參閱

參考

error_code 類別