1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

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

@ -127,7 +127,7 @@ namespace sprout {
private:
sprout::tuples::tuple<Arg> children_;
public:
SPROUT_CONSTEXPR explicit basic_expr(Arg const& arg)
explicit SPROUT_CONSTEXPR basic_expr(Arg const& arg)
: children_(arg)
{}
template<long N>
@ -174,7 +174,7 @@ namespace sprout {
private:
sprout::tuples::tuple<Args...> children_;
public:
SPROUT_CONSTEXPR explicit basic_expr(Args const&... args)
explicit SPROUT_CONSTEXPR basic_expr(Args const&... args)
: children_(args...)
{}
template<long N>
@ -238,7 +238,7 @@ namespace sprout {
private:
sprout::tuples::tuple<Arg> children_;
public:
SPROUT_CONSTEXPR explicit expr(Arg const& arg)
explicit SPROUT_CONSTEXPR expr(Arg const& arg)
: children_(arg)
{}
template<long N>
@ -365,7 +365,7 @@ namespace sprout {
private:
sprout::tuples::tuple<Arg> children_;
public:
SPROUT_CONSTEXPR explicit basic_expr(Args const&... args)
explicit SPROUT_CONSTEXPR basic_expr(Args const&... args)
: children_(args...)
{}
template<long N>
@ -466,7 +466,7 @@ namespace sprout {
public:
SPROUT_BREED_UNEXPR();
public:
SPROUT_CONSTEXPR explicit unexpr(Expr const& e)
explicit SPROUT_CONSTEXPR unexpr(Expr const& e)
: Expr(e)
{}
using Expr::operator=;