binary_function is removed from equal and unary_function removed from tests.

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

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 ;}
};