Share via


operator< (<system_error>)

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

template<class _Enum> inline bool operator<(
    _Enum _Left,
    typename tr1::enable_if<is_error_code_enum<_Enum>::value,
    const error_code&>::type _Right);
template<class _Enum> inline bool operator<(
    typename tr1::enable_if<is_error_code_enum<_Enum>::value,
    const error_code&>::type _Left, _Enum _Right);
template<class _Enum> inline bool operator<(
    _Enum _Left,
    typename tr1::enable_if<is_error_condition_enum<_Enum>::value,
    const error_condition&>::type _Right);
template<class _Enum> inline bool operator<(
    typename tr1::enable_if<is_error_condition_enum<_Enum>::value,
    const error_condition&>::type _Left, _Enum _Right);

Parameters

Parameter

Description

_Left

The object to be compared.

_Right

The object to be compared.

Return Value

true if the object passed in _Left is less than the object passed in _Right; Otherwise, false.

Remarks

This function tests the error order.

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

<system_error>

Other Resources

<system_error> Members