diff options
Diffstat (limited to 'boost/phoenix/scope/lambda.hpp')
-rw-r--r-- | boost/phoenix/scope/lambda.hpp | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/boost/phoenix/scope/lambda.hpp b/boost/phoenix/scope/lambda.hpp index 71ff50eda7..8221966ac2 100644 --- a/boost/phoenix/scope/lambda.hpp +++ b/boost/phoenix/scope/lambda.hpp @@ -96,22 +96,22 @@ namespace boost { namespace phoenix >::type env_type; - typedef - typename result_of::eval< - Lambda - , typename result_of::context< - scoped_environment< - env_type - , outer_env_type - , locals_type - , map_type - > - , typename result_of::actions< - Context - >::type - >::type - >::type - type; + typedef + typename result_of::eval< + Lambda + , typename result_of::context< + scoped_environment< + env_type + , outer_env_type + , locals_type + , map_type + > + , typename result_of::actions< + Context + >::type + >::type + >::type + type; }; template <typename OuterEnv, typename Locals, typename Map, typename Lambda, typename Context> @@ -148,7 +148,7 @@ namespace boost { namespace phoenix >::type env_type; - scoped_environment< + scoped_environment< env_type , outer_env_type , locals_type @@ -181,7 +181,7 @@ namespace boost { namespace phoenix ) > , proto::make< - int() + proto::empty_env() > ) > @@ -214,7 +214,7 @@ namespace boost { namespace phoenix evaluator( proto::_ , _context - , proto::make<int()> + , proto::make<proto::empty_env()> ) > >() @@ -248,7 +248,7 @@ namespace boost { namespace phoenix >::type vars_type; - typedef typename + typedef typename detail::result_of::initialize_locals< vars_type , Context @@ -272,32 +272,32 @@ namespace boost { namespace phoenix , typename Context > typename result< - lambda_actor_eval(Vars const&, Map const &, Lambda const&, Context &) + lambda_actor_eval(Vars const&, Map const &, Lambda const&, Context const &) >::type const - operator()(Vars const& vars, Map const& map, Lambda const& lambda, Context & ctx) const + operator()(Vars const& vars, Map const& map, Lambda const& lambda, Context const & ctx) const { typedef typename proto::detail::uncvref< typename result_of::env<Context>::type >::type env_type; - typedef + /*typedef typename proto::detail::uncvref< typename result_of::actions<Context>::type >::type - actions_type; + actions_type;*/ typedef typename proto::detail::uncvref< typename proto::result_of::value<Vars>::type >::type vars_type; - typedef + /*typedef typename proto::detail::uncvref< typename proto::result_of::value<Map>::type >::type - map_type; - - typedef typename + map_type;*/ + + typedef typename detail::result_of::initialize_locals< vars_type , Context @@ -309,7 +309,7 @@ namespace boost { namespace phoenix return expression:: lambda<env_type, locals_type, Map, Lambda>:: - make(env(ctx), locals, map, lambda); + make(phoenix::env(ctx), locals, map, lambda); } }; @@ -337,8 +337,8 @@ namespace boost { namespace phoenix template <typename Locals, typename Map> struct lambda_actor_gen<Locals, Map> { - lambda_actor_gen(Locals const & locals) - : locals(locals) + lambda_actor_gen(Locals const & locals_) + : locals(locals_) {} lambda_actor_gen(lambda_actor_gen const & o) |