Remove all mentions of (unary|binary)_function; not needed and they have been removed for C++17

This commit is contained in:
Marshall Clow
2016-11-20 17:02:49 -08:00
parent efd7a8b544
commit 7977bd0cdc
7 changed files with 14 additions and 10 deletions

View File

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