Export (0) Print
Expand All

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 enable_if<is_error_code_enum<_Enum>::value,
    const error_code&>::type _Right);
template<class _Enum> inline bool operator<(
    typename enable_if<is_error_code_enum<_Enum>::value,
    const error_code&>::type _Left, _Enum _Right);
template<class _Enum> inline bool operator<(
    _Enum _Left,
    typename enable_if<is_error_condition_enum<_Enum>::value,
    const error_condition&>::type _Right);
template<class _Enum> inline bool operator<(
    typename enable_if<is_error_condition_enum<_Enum>::value,
    const error_condition&>::type _Left, _Enum _Right);

Parameter

Description

_Left

The object to be compared.

_Right

The object to be compared.

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

This function tests the error order.

Header: <system_error>

Namespace: std

Show:
© 2015 Microsoft