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

@ -18,7 +18,7 @@
#include <list>
template<typename T>
struct is_ : public std::unary_function<T, bool> {
struct is_ {
BOOST_CXX14_CONSTEXPR is_ ( T v ) : val_ ( v ) {}
BOOST_CXX14_CONSTEXPR bool operator () ( T comp ) const { return val_ == comp; }
private: