Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63519 - in sandbox/SOC/2010/phoenix3/boost/phoenix: core statement
From: thom.heller_at_[hidden]
Date: 2010-07-02 14:57:07


Author: theller
Date: 2010-07-02 04:37:09 EDT (Fri, 02 Jul 2010)
New Revision: 63519
URL: http://svn.boost.org/trac/boost/changeset/63519

Log:

some minor tweaks

Text files modified:
   sandbox/SOC/2010/phoenix3/boost/phoenix/core/nothing.hpp | 3 +--
   sandbox/SOC/2010/phoenix3/boost/phoenix/core/value.hpp | 1 -
   sandbox/SOC/2010/phoenix3/boost/phoenix/statement/do_while.hpp | 2 +-
   sandbox/SOC/2010/phoenix3/boost/phoenix/statement/for.hpp | 6 +++---
   4 files changed, 5 insertions(+), 7 deletions(-)

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-07-02 04:37:09 EDT (Fri, 02 Jul 2010)
@@ -26,8 +26,7 @@
 
         template <typename Env>
         void eval(Env const&) const
- {
- }
+ {}
     };
 
     compose<null_actor>::result_type const nothing = {};

Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/core/value.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/core/value.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/core/value.hpp 2010-07-02 04:37:09 EDT (Fri, 02 Jul 2010)
@@ -63,7 +63,6 @@
     typename make_value<T>::type const
     val(T & t )
     {
- std::cout << "blubber\n";
         return make_value<T>()(t);
     }
 

Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/statement/do_while.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/statement/do_while.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/statement/do_while.hpp 2010-07-02 04:37:09 EDT (Fri, 02 Jul 2010)
@@ -51,7 +51,7 @@
             return make_do_while<Cond, Do>()(cond, do_);
         }
 
- Do do_;
+ Do const& do_;
     };
 
     struct do_gen

Modified: sandbox/SOC/2010/phoenix3/boost/phoenix/statement/for.hpp
==============================================================================
--- sandbox/SOC/2010/phoenix3/boost/phoenix/statement/for.hpp (original)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/statement/for.hpp 2010-07-02 04:37:09 EDT (Fri, 02 Jul 2010)
@@ -66,9 +66,9 @@
             return make_for<Init, Cond, Step, Do>()(init, cond, step, do_);
         }
 
- Init init;
- Cond cond;
- Step step;
+ Init const& init;
+ Cond const& cond;
+ Step const& step;
     };
 
     template <typename Init, typename Cond, typename Step>


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