aboutsummaryrefslogtreecommitdiff
path: root/boost/common/unordered/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'boost/common/unordered/test.hxx')
-rw-r--r--boost/common/unordered/test.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/common/unordered/test.hxx b/boost/common/unordered/test.hxx
index 8bbf0a6..17e4e0e 100644
--- a/boost/common/unordered/test.hxx
+++ b/boost/common/unordered/test.hxx
@@ -30,6 +30,12 @@ operator== (const comp& x, const comp& y)
}
inline bool
+operator!= (const comp& x, const comp& y)
+{
+ return !(x == y);
+}
+
+inline bool
operator< (const comp& x, const comp& y)
{
return x.num != y.num ? x.num < y.num : x.str < y.str;