Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62712 - sandbox/SOC/2010/phoenix3/boost/phoenix/core
From: joel_at_[hidden]
Date: 2010-06-10 02:52:07


Author: djowel
Date: 2010-06-10 02:52:06 EDT (Thu, 10 Jun 2010)
New Revision: 62712
URL: http://svn.boost.org/trac/boost/changeset/62712

Log:
+ the environment concept
+ better result_of modularization
Text files modified:
   sandbox/SOC/2010/phoenix3/boost/phoenix/core/environment.hpp | 4 ++--
   sandbox/SOC/2010/phoenix3/boost/phoenix/core/nothing.hpp | 18 ++++++++----------
   2 files changed, 10 insertions(+), 12 deletions(-)

Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/core/environment.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/core/environment.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/core/environment.hpp 2010-06-10 02:52:06 EDT (Thu, 10 Jun 2010)
@@ -11,8 +11,8 @@
 
 namespace boost { namespace phoenix
 {
-// template <typename T, typename Enable = void>
-// struct is_environment : fusion::is_sequence<T> {};
+ template <typename T, typename Enable = void>
+ struct is_environment : fusion::traits::is_sequence<T> {};
     
     namespace result_of
     {

Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/core/nothing.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/core/nothing.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/core/nothing.hpp 2010-06-10 02:52:06 EDT (Thu, 10 Jun 2010)
@@ -12,26 +12,24 @@
 
 namespace boost { namespace phoenix
 {
-///////////////////////////////////////////////////////////////////////////////
-//
-// null_actor
-//
-// A actor that does nothing (a "bum", if you will :-).
-//
-///////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////
+ //
+ // null_actor
+ //
+ // A actor that does nothing (a "bum", if you will :-).
+ //
+ ////////////////////////////////////////////////////////////////////////////
     struct null_actor
     {
         typedef void result_type;
 
         template <typename Env>
- void
- eval(Env const&) const
+ void eval(Env const&) const
         {
         }
     };
 
     as_actor<null_actor, actor>::result_type const nothing = {};
-
 }}
 
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk