mirror of
https://github.com/boostorg/algorithm.git
synced 2025-06-30 22:41:01 +02:00
binary_function is removed from equal and unary_function removed from tests.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user