Share via


error_condition::operator<

Tests if the error_condition object is less than the error_code object passed in for comparison.

bool operator<(const error_condition& _Right) const;

Parameters

Parameter

Description

_Right

The error_condition object to be compared.

Return Value

true if the error_condition object is less than the error_condition object passed in for comparison; Otherwise, false.

Remarks

The member operator returns category() < _Right.category() || category() == _Right.category() && value < _Right.value().

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

error_condition Class