error_code::operator<

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

bool operator<(const error_code& _Right) const;

Parameters

Parameter

Description

_Right

The error_code object to be compared.

Return Value

true if the error_code object is less than the error_code 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_code Class

Other Resources

error_code Members