diff --git a/test/is_sorted_test.cpp b/test/is_sorted_test.cpp index b84c5a3..f88d91c 100644 --- a/test/is_sorted_test.cpp +++ b/test/is_sorted_test.cpp @@ -5,15 +5,17 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ -#include +#include #include #include #include #include template -struct tracking_less: std::binary_function { +struct tracking_less { typedef bool result_type; + typedef T first_argument_type; + typedef T second_argument_type; #if defined(__PATHSCALE__) tracking_less (void) { } @@ -27,8 +29,10 @@ struct tracking_less: std::binary_function { }; template -struct tracking_less_equal: std::binary_function { +struct tracking_less_equal { typedef bool result_type; + typedef T first_argument_type; + typedef T second_argument_type; #if defined(__PATHSCALE__) tracking_less_equal (void) { } @@ -42,8 +46,10 @@ struct tracking_less_equal: std::binary_function { }; template -struct tracking_greater: std::binary_function { +struct tracking_greater { typedef bool result_type; + typedef T first_argument_type; + typedef T second_argument_type; #if defined(__PATHSCALE__) tracking_greater (void) { } @@ -57,8 +63,10 @@ struct tracking_greater: std::binary_function { }; template -struct tracking_greater_equal: std::binary_function { +struct tracking_greater_equal { typedef bool result_type; + typedef T first_argument_type; + typedef T second_argument_type; #if defined(__PATHSCALE__) tracking_greater_equal (void) { } @@ -127,4 +135,3 @@ int main (void) { return report_errors(); } -