mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-02 15:31:08 +02:00
Remove all mentions of (unary|binary)_function; not needed and they have been removed for C++17
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
#include <list>
|
||||
|
||||
template<typename T>
|
||||
struct is_ : public std::unary_function<T, bool> {
|
||||
struct is_ {
|
||||
is_ ( T v ) : val_ ( v ) {}
|
||||
~is_ () {}
|
||||
bool operator () ( T comp ) const { return val_ == comp; }
|
||||
|
Reference in New Issue
Block a user