From 04e16988ae481f161b1fd00da86d2f2733ea0138 Mon Sep 17 00:00:00 2001 From: Raoul Gough Date: Tue, 2 Dec 2003 16:48:57 +0000 Subject: [PATCH] Add operator> for extended test_container_proxy tests [SVN r21087] --- test/int_wrapper.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/int_wrapper.hpp b/test/int_wrapper.hpp index d4e2f4c0..ca7ed244 100755 --- a/test/int_wrapper.hpp +++ b/test/int_wrapper.hpp @@ -48,6 +48,7 @@ BOOST_TT_BROKEN_COMPILER_SPEC (int_wrapper) inline bool operator== (int_wrapper const &lhs, int_wrapper const &rhs); inline bool operator!= (int_wrapper const &lhs, int_wrapper const &rhs); inline bool operator< (int_wrapper const &lhs, int_wrapper const &rhs); +inline bool operator> (int_wrapper const &lhs, int_wrapper const &rhs); inline int compare (int_wrapper const &lhs, int_wrapper const &rhs); // @@ -159,6 +160,11 @@ bool operator< (int_wrapper const &lhs, int_wrapper const &rhs) return lhs.m_int < rhs.m_int; } +bool operator> (int_wrapper const &lhs, int_wrapper const &rhs) +{ + return lhs.m_int > rhs.m_int; +} + int compare (int_wrapper const &lhs, int_wrapper const &rhs) { if (lhs < rhs)