Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69913 - branches/msm/v2_30/boost/msm/lpp
From: christophe.j.henry_at_[hidden]
Date: 2011-03-13 05:12:31


Author: chenry
Date: 2011-03-13 05:12:29 EDT (Sun, 13 Mar 2011)
New Revision: 69913
URL: http://svn.boost.org/trac/boost/changeset/69913

Log:
added some capture names
Text files modified:
   branches/msm/v2_30/boost/msm/lpp/common_types.hpp | 10 ++++++++--
   1 files changed, 8 insertions(+), 2 deletions(-)

Modified: branches/msm/v2_30/boost/msm/lpp/common_types.hpp
==============================================================================
--- branches/msm/v2_30/boost/msm/lpp/common_types.hpp (original)
+++ branches/msm/v2_30/boost/msm/lpp/common_types.hpp 2011-03-13 05:12:29 EDT (Sun, 13 Mar 2011)
@@ -287,10 +287,16 @@
 };
 
 #define BOOST_MSM_LPP_LAMBDA_CAPTURE(index,name) \
- BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(index) \
     proto::terminal<lambda_parameter< index > >::type const name={{}};
 
-// we define a few capture names
+// provide some capture parameters
+BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(0)
+BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(1)
+BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(2)
+BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(3)
+BOOST_MSM_LPP_LAMBDA_CAPTURE_DEF(4)
+
+// define a few capture names
 BOOST_MSM_LPP_LAMBDA_CAPTURE(0,_c1)
 BOOST_MSM_LPP_LAMBDA_CAPTURE(1,_c2)
 BOOST_MSM_LPP_LAMBDA_CAPTURE(2,_c3)


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