- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Configs/TI_DSP_BIOS/stl/stl_relops.h

    00001 /*
    00002  *
    00003  * Copyright (c) 1994
    00004  * Hewlett-Packard Company
    00005  *
    00006  * Permission to use, copy, modify, distribute and sell this software
    00007  * and its documentation for any purpose is hereby granted without fee,
    00008  * provided that the above copyright notice appear in all copies and
    00009  * that both that copyright notice and this permission notice appear
    00010  * in supporting documentation.  Hewlett-Packard Company makes no
    00011  * representations about the suitability of this software for any
    00012  * purpose.  It is provided "as is" without express or implied warranty.
    00013  *
    00014  * Copyright (c) 1996,1997
    00015  * Silicon Graphics
    00016  *
    00017  * Permission to use, copy, modify, distribute and sell this software
    00018  * and its documentation for any purpose is hereby granted without fee,
    00019  * provided that the above copyright notice appear in all copies and
    00020  * that both that copyright notice and this permission notice appear
    00021  * in supporting documentation.  Silicon Graphics makes no
    00022  * representations about the suitability of this software for any
    00023  * purpose.  It is provided "as is" without express or implied warranty.
    00024  *
    00025  */
    00026
    00027 /* NOTE: This is an internal header file, included by other STL headers.
    00028  *   You should not attempt to use it directly.
    00029  */
    00030
    00031 #ifndef __SGI_STL_INTERNAL_RELOPS
    00032 #define __SGI_STL_INTERNAL_RELOPS
    00033
    00034 __STL_BEGIN_RELOPS_NAMESPACE
    00035
    00036 template <class _Tp>
    00037 inline bool operator!=(const _Tp& __x, const _Tp& __y) {
    00038   return !(__x == __y);
    00039 }
    00040
    00041 template <class _Tp>
    00042 inline bool operator>(const _Tp& __x, const _Tp& __y) {
    00043   return __y < __x;
    00044 }
    00045
    00046 template <class _Tp>
    00047 inline bool operator<=(const _Tp& __x, const _Tp& __y) {
    00048   return !(__y < __x);
    00049 }
    00050
    00051 template <class _Tp>
    00052 inline bool operator>=(const _Tp& __x, const _Tp& __y) {
    00053   return !(__x < __y);
    00054 }
    00055
    00056 __STL_END_RELOPS_NAMESPACE
    00057
    00058 #endif /* __SGI_STL_INTERNAL_RELOPS */
    00059
    00060 // Local Variables:
    00061 // mode:C++
    00062 // End: