测试,error_code 如果对象与传入的 error_code 对象进行比较小于。
bool operator<(const error_code& _Right) const;
参数
参数 |
说明 |
---|---|
_Right |
要比较的 error_code 对象。 |
返回值
true,如果 error_code 对象与传入的 error_code 对象进行比较小于;否则,false。
备注
成员运算符返回 category() < _Right.category() || category() == _Right.category() && value < _Right.value()。
要求
标头: <system_error>
命名空间: std