binary_function is removed from equal and unary_function removed from tests.

This commit is contained in:
Mike Maximoff committed 2017-06-19 19:03:00 +03:00
1 parent 968d30e9e3
commit 000040b3d9
5 files changed
+6 -6

No files matched your search

+1 -1
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: