ReactOS 0.4.15-dev-7942-gd23573b
_pair.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pair< _T1, _T2 >
 

Functions

template<class _T1 , class _T2 >
bool _STLP_CALL operator== (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y)
 
template<class _T1 , class _T2 >
bool _STLP_CALL operator< (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y)
 
template<class _T1 , class _T2 >
pair< _T1, _T2 > _STLP_CALL make_pair (_T1 __x, _T2 __y)
 
template<class _Tp >
_STLP_END_NAMESPACE _STLP_BEGIN_RELOPS_NAMESPACE bool _STLP_CALL operator!= (const _Tp &__x, const _Tp &__y)
 
template<class _Tp >
bool _STLP_CALL operator> (const _Tp &__x, const _Tp &__y)
 
template<class _Tp >
bool _STLP_CALL operator<= (const _Tp &__x, const _Tp &__y)
 
template<class _Tp >
bool _STLP_CALL operator>= (const _Tp &__x, const _Tp &__y)
 

Function Documentation

◆ make_pair()

◆ operator!=()

template<class _Tp >
_STLP_END_NAMESPACE _STLP_BEGIN_RELOPS_NAMESPACE bool _STLP_CALL operator!= ( const _Tp &  __x,
const _Tp &  __y 
)
inline

Definition at line 133 of file _pair.h.

134{ return !(__x == __y); }

◆ operator<()

template<class _T1 , class _T2 >
bool _STLP_CALL operator< ( const pair< _T1, _T2 > &  __x,
const pair< _T1, _T2 > &  __y 
)
inline

Definition at line 81 of file _pair.h.

81 {
82 return __x.first < __y.first ||
83 (!(__y.first < __x.first) && __x.second < __y.second);
84}
_T2 second
Definition: _pair.h:52
_T1 first
Definition: _pair.h:51

◆ operator<=()

template<class _Tp >
bool _STLP_CALL operator<= ( const _Tp &  __x,
const _Tp &  __y 
)
inline

Definition at line 141 of file _pair.h.

142{ return !(__y < __x); }

◆ operator==()

template<class _T1 , class _T2 >
bool _STLP_CALL operator== ( const pair< _T1, _T2 > &  __x,
const pair< _T1, _T2 > &  __y 
)
inline

Definition at line 77 of file _pair.h.

78{ return __x.first == __y.first && __x.second == __y.second; }

◆ operator>()

template<class _Tp >
bool _STLP_CALL operator> ( const _Tp &  __x,
const _Tp &  __y 
)
inline

Definition at line 137 of file _pair.h.

138{ return __y < __x; }

◆ operator>=()

template<class _Tp >
bool _STLP_CALL operator>= ( const _Tp &  __x,
const _Tp &  __y 
)
inline

Definition at line 145 of file _pair.h.

146{ return !(__x < __y); }