STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
rel_ops Namespace Reference

Functions

template<class _Ty >
bool operator!= (const _Ty &_Left, const _Ty &_Right)
 
template<class _Ty >
bool operator> (const _Ty &_Left, const _Ty &_Right)
 
template<class _Ty >
bool operator<= (const _Ty &_Left, const _Ty &_Right)
 
template<class _Ty >
bool operator>= (const _Ty &_Left, const _Ty &_Right)
 

Function Documentation

template<class _Ty >
bool rel_ops::operator!= ( const _Ty &  _Left,
const _Ty &  _Right 
)
inline
353  { // test for inequality, in terms of equality
354  return (!(_Left == _Right));
355  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_STD_BEGIN const _Ty & _Right
Definition: utility:22
template<class _Ty >
bool rel_ops::operator<= ( const _Ty &  _Left,
const _Ty &  _Right 
)
inline
365  { // test if _Left <= _Right, in terms of operator<
366  return (!(_Right < _Left));
367  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_STD_BEGIN const _Ty & _Right
Definition: utility:22
template<class _Ty >
bool rel_ops::operator> ( const _Ty &  _Left,
const _Ty &  _Right 
)
inline
359  { // test if _Left > _Right, in terms of operator<
360  return (_Right < _Left);
361  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_STD_BEGIN const _Ty & _Right
Definition: utility:22
template<class _Ty >
bool rel_ops::operator>= ( const _Ty &  _Left,
const _Ty &  _Right 
)
inline
371  { // test if _Left >= _Right, in terms of operator<
372  return (!(_Left < _Right));
373  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_STD_BEGIN const _Ty & _Right
Definition: utility:22