16 explicit test_compare(int data
= 0) : data_(data
) {}
18 typename
C::result_type
19 operator()(typename
std::add_lvalue_reference
<const typename
C::first_argument_type
>::type x
,
20 typename
std::add_lvalue_reference
<const typename
C::second_argument_type
>::type y
) const
21 {return C::operator()(x
, y
);}
23 bool operator==(const test_compare
& c
) const
24 {return data_
== c
.data_
;}
27 #endif // TEST_COMPARE_H