次の方法で共有


operator< (<system_error>)

オブジェクトがある場合、比較に渡されるオブジェクトより小さいテスト。

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);

パラメーター

パラメーター

説明

_Left

比較されるオブジェクト。

_Right

比較されるオブジェクト。

戻り値

_Left で渡されるオブジェクトがである場合 _Rightで渡されるオブジェクトより小さいtrue ; それ以外 false

解説

この関数テスト エラーの順序。

必要条件

ヘッダー: <system_error>

名前空間: std

参照

関連項目

<system_error>