ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference
|
stl_relops.h |
This is an internal header file, included by other library headers.
You should not attempt to use it directly.
@if maint
Inclusion of this file has been removed from
all of the other STL headers for safety reasons, except std_utility.h.
For more information, see the thread of about twenty messages starting
with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html , or the
FAQ at http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4 .
Short summary: the rel_ops operators should be avoided for the present.
@endif
operator != |
/** @brief Defines @c != for arbitrary types, in terms of @c ==. @param x A thing. @param y Another thing. @return x != y This function uses @c == to determine its result. */ template <class _Tp> inline bool operator!=( const _Tp& __x, const _Tp& __y)
@namespace std::rel_ops @brief The generated relational operators are sequestered here.
operator <= |
template <class _Tp> inline bool operator<=( const _Tp& __x, const _Tp& __y)
x
y
x <= y
This function uses @c < to determine its result.
@brief Defines @c <= for arbitrary types, in terms of @c <.
operator >= |
template <class _Tp> inline bool operator>=( const _Tp& __x, const _Tp& __y)
x
y
x >= y
This function uses @c < to determine its result.
@brief Defines @c >= for arbitrary types, in terms of @c <.