binary_function is removed from equal and unary_function removed from tests.

This commit is contained in:
Mike Maximoff committed 2017-06-19 19:03:00 +03:00
1 parent 968d30e9e3
commit 000040b3d9
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace boost { namespace algorithm {
namespace detail {
template <class T1, class T2>
struct eq : public std::binary_function<T1, T2, bool> {
struct eq {
BOOST_CONSTEXPR bool operator () ( const T1& v1, const T2& v2 ) const { return v1 == v2 ;}
};