共用方式為


error_condition::operator <

測試,如果 error_condition 物件比相較於傳遞的 error_code 物件。

bool operator<(const error_condition& _Right) const;

參數

參數

描述

_Right

要比較的 error_condition 物件。

傳回值

true ,如果 error_condition 物件比相較於傳遞的物件 error_condition 小於;否則, false

備註

成員運算子傳回 category() < _Right.category() || category() == _Right.category() && value < _Right.value()。

需求

標題: <system_error>

命名空間: std

請參閱

參考

error_condition Class