forked from boostorg/algorithm
Remove all mentions of (unary|binary)_function; not needed and they have been removed for C++17
This commit is contained in:
@ -13,7 +13,6 @@
|
||||
#define BOOST_ALGORITHM_EQUAL_HPP
|
||||
|
||||
#include <algorithm> // for std::equal
|
||||
#include <functional> // for std::binary_function
|
||||
#include <iterator>
|
||||
|
||||
namespace boost { namespace algorithm {
|
||||
@ -21,7 +20,7 @@ namespace boost { namespace algorithm {
|
||||
namespace detail {
|
||||
|
||||
template <class T1, class T2>
|
||||
struct eq : public std::binary_function<T1, T2, bool> {
|
||||
struct eq {
|
||||
bool operator () ( const T1& v1, const T2& v2 ) const { return v1 == v2 ;}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user