add ptr_fun, mem_fun, mem_fun_ref

This commit is contained in:
bolero-MURAKAMI 2012-04-11 23:28:29 +09:00
parent 4a8e938887
commit f86d17d0d4
46 changed files with 322 additions and 76 deletions

View file

@ -1,8 +1,8 @@
#ifndef SPROUT_FUNCTIONAL_BIND2ND_HPP
#define SPROUT_FUNCTIONAL_BIND2ND_HPP
#include <functional>
#include <sprout/config.hpp>
#include <sprout/functional/base.hpp>
namespace sprout {
// Copyright (C) 2011 RiSK (sscrisk)
@ -10,7 +10,7 @@ namespace sprout {
// D.9.3 Class template binder2nd
template<typename Fn>
class binder2nd
: public std::unary_function<typename Fn::first_argument_type, typename Fn::result_type>
: public sprout::unary_function<typename Fn::first_argument_type, typename Fn::result_type>
{
protected:
Fn op;