summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/stl/stl_relops.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-10-16 03:52:48 +0000
committerobrien <obrien@FreeBSD.org>1999-10-16 03:52:48 +0000
commitb721bc1aede3b3211302d103a1de1019c732ce74 (patch)
tree0373fc465a78f12f63d0f0e1487af637156b8a58 /contrib/libstdc++/stl/stl_relops.h
parent9f01c491d0571ee2f91980be244eaeef54bef145 (diff)
downloadFreeBSD-src-b721bc1aede3b3211302d103a1de1019c732ce74.zip
FreeBSD-src-b721bc1aede3b3211302d103a1de1019c732ce74.tar.gz
Virgin import of GCC 2.95.1's libstdc++
Diffstat (limited to 'contrib/libstdc++/stl/stl_relops.h')
-rw-r--r--contrib/libstdc++/stl/stl_relops.h24
1 files changed, 12 insertions, 12 deletions
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 <class T>
-inline bool operator!=(const T& x, const T& y) {
- return !(x == y);
+template <class _Tp>
+inline bool operator!=(const _Tp& __x, const _Tp& __y) {
+ return !(__x == __y);
}
-template <class T>
-inline bool operator>(const T& x, const T& y) {
- return y < x;
+template <class _Tp>
+inline bool operator>(const _Tp& __x, const _Tp& __y) {
+ return __y < __x;
}
-template <class T>
-inline bool operator<=(const T& x, const T& y) {
- return !(y < x);
+template <class _Tp>
+inline bool operator<=(const _Tp& __x, const _Tp& __y) {
+ return !(__y < __x);
}
-template <class T>
-inline bool operator>=(const T& x, const T& y) {
- return !(x < y);
+template <class _Tp>
+inline bool operator>=(const _Tp& __x, const _Tp& __y) {
+ return !(__x < __y);
}
__STL_END_RELOPS_NAMESPACE
OpenPOWER on IntegriCloud