forked from boostorg/iterator
Removed the use of std::unary_function.
This commit is contained in:
@ -16,9 +16,10 @@
|
|||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
template <class Operation>
|
template <class Operation>
|
||||||
class binder1st
|
class binder1st {
|
||||||
: public std::unary_function<typename Operation::second_argument_type,
|
public:
|
||||||
typename Operation::result_type> {
|
typedef typename Operation::result_type result_type;
|
||||||
|
typedef typename Operation::second_argument_type argument_type;
|
||||||
protected:
|
protected:
|
||||||
Operation op;
|
Operation op;
|
||||||
typename Operation::first_argument_type value;
|
typename Operation::first_argument_type value;
|
||||||
@ -72,5 +73,3 @@ main(int, char*[])
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user