From b721bc1aede3b3211302d103a1de1019c732ce74 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 16 Oct 1999 03:52:48 +0000 Subject: Virgin import of GCC 2.95.1's libstdc++ --- contrib/libstdc++/stl/stl_relops.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'contrib/libstdc++/stl/stl_relops.h') diff --git a/contrib/libstdc++/stl/stl_relops.h b/contrib/libstdc++/stl/stl_relops.h index 01a0c7c..16cad1b 100644 --- a/contrib/libstdc++/stl/stl_relops.h +++ b/contrib/libstdc++/stl/stl_relops.h @@ -33,24 +33,24 @@ __STL_BEGIN_RELOPS_NAMESPACE -template -inline bool operator!=(const T& x, const T& y) { - return !(x == y); +template +inline bool operator!=(const _Tp& __x, const _Tp& __y) { + return !(__x == __y); } -template -inline bool operator>(const T& x, const T& y) { - return y < x; +template +inline bool operator>(const _Tp& __x, const _Tp& __y) { + return __y < __x; } -template -inline bool operator<=(const T& x, const T& y) { - return !(y < x); +template +inline bool operator<=(const _Tp& __x, const _Tp& __y) { + return !(__y < __x); } -template -inline bool operator>=(const T& x, const T& y) { - return !(x < y); +template +inline bool operator>=(const _Tp& __x, const _Tp& __y) { + return !(__x < __y); } __STL_END_RELOPS_NAMESPACE -- cgit v1.1