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

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