mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
add ptr_fun, mem_fun, mem_fun_ref
This commit is contained in:
parent
4a8e938887
commit
f86d17d0d4
46 changed files with 322 additions and 76 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue