$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62988 - sandbox/SOC/2010/phoenix3/boost/phoenix/core
From: eric_at_[hidden]
Date: 2010-06-15 13:38:25
Author: eric_niebler
Date: 2010-06-15 13:38:24 EDT (Tue, 15 Jun 2010)
New Revision: 62988
URL: http://svn.boost.org/trac/boost/changeset/62988
Log:
avoid use of incomplete actor<> type when computing nullary_result
Text files modified: 
   sandbox/SOC/2010/phoenix3/boost/phoenix/core/actor.hpp |     6 +++---                                  
   1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/core/actor.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/core/actor.hpp	(original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/core/actor.hpp	2010-06-15 13:38:24 EDT (Tue, 15 Jun 2010)
@@ -74,10 +74,10 @@
         typedef typename
             mpl::eval_if_c<
                 arity == 0 // avoid calling result_of::actor when this is true
-              , boost::result_of<eval_grammar(actor<Expr> const &, fusion::vector0<>&)>
+              , boost::result_of<eval_grammar(Expr const &, fusion::vector0<>&)>
               , mpl::identity<detail::error_expecting_arguments>
             >::type
-            nullary_result;
+        nullary_result;
 
         template <typename Sig>
         struct result;
@@ -104,7 +104,7 @@
             BOOST_PROTO_ASSERT_MATCHES( *this, eval_grammar );
             fusion::vector0<> args;
 
-            return eval(*this, args);
+            return eval(this->proto_base(), args);
         }
 
         template <typename A0>