libstdc++
std::rel_ops Namespace Reference

Functions


Detailed Description

The generated relational operators are sequestered here.


Function Documentation

template<class _Tp >
bool std::rel_ops::operator!= ( const _Tp &  __x,
const _Tp &  __y 
) [inline]

Defines != for arbitrary types, in terms of ==.

Parameters:
__xA thing.
__yAnother thing.
Returns:
__x != __y

This function uses == to determine its result.

Definition at line 88 of file stl_relops.h.

template<class _Tp >
bool std::rel_ops::operator<= ( const _Tp &  __x,
const _Tp &  __y 
) [inline]

Defines <= for arbitrary types, in terms of <.

Parameters:
__xA thing.
__yAnother thing.
Returns:
__x <= __y

This function uses < to determine its result.

Definition at line 114 of file stl_relops.h.

template<class _Tp >
bool std::rel_ops::operator> ( const _Tp &  __x,
const _Tp &  __y 
) [inline]

Defines > for arbitrary types, in terms of <.

Parameters:
__xA thing.
__yAnother thing.
Returns:
__x > __y

This function uses < to determine its result.

Definition at line 101 of file stl_relops.h.

template<class _Tp >
bool std::rel_ops::operator>= ( const _Tp &  __x,
const _Tp &  __y 
) [inline]

Defines >= for arbitrary types, in terms of <.

Parameters:
__xA thing.
__yAnother thing.
Returns:
__x >= __y

This function uses < to determine its result.

Definition at line 127 of file stl_relops.h.