Scroll to navigation

std::rel_ops(3cxx) std::rel_ops(3cxx)

NAME

std::rel_ops -

SYNOPSIS

Functions


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

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:
x A thing.
 
y Another thing.
Returns:
x != y
This function uses == to determine its result.
Definition at line 85 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:
x A thing.
 
y Another thing.
Returns:
x <= y
This function uses < to determine its result.
Definition at line 111 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:
x A thing.
 
y Another thing.
Returns:
x > y
This function uses < to determine its result.
Definition at line 98 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:
x A thing.
 
y Another thing.
Returns:
x >= y
This function uses < to determine its result.
Definition at line 124 of file stl_relops.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.
Thu Aug 2 2012 libstdc++