Condividi tramite


operator< (<system_error>)

Verifica se un oggetto è inferiore all'oggetto passato per il confronto.

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

Parametri

Parametro

Descrizione

_Left

Oggetto da confrontare.

_Right

Oggetto da confrontare.

Valore restituito

true se l'oggetto passato in _Left è inferiore all'oggetto passato in _Right; In caso contrario, false.

Note

Funzione testa questo l'ordine di errore.

Requisiti

intestazione: <system_error>

Spazio dei nomi: deviazione standard

Vedere anche

Riferimenti

<system_error>