]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright 2008 Christophe Henry |
2 | // henry UNDERSCORE christophe AT hotmail DOT com | |
3 | // This is an extended version of the state machine available in the boost::mpl library | |
4 | // Distributed under the same license as the original. | |
5 | // Copyright for the original version: | |
6 | // Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed | |
7 | // under the Boost Software License, Version 1.0. (See accompanying | |
8 | // file LICENSE_1_0.txt or copy at | |
9 | // http://www.boost.org/LICENSE_1_0.txt) | |
10 | ||
11 | #ifndef BOOST_MSM_FRONT_EUML_ITERATION_H | |
12 | #define BOOST_MSM_FRONT_EUML_ITERATION_H | |
13 | ||
14 | #include <algorithm> | |
15 | #include <numeric> | |
16 | #include <boost/msm/front/euml/common.hpp> | |
17 | ||
18 | namespace boost { namespace msm { namespace front { namespace euml | |
19 | { | |
20 | ||
21 | BOOST_MSM_EUML_FUNCTION(ForEach_ , std::for_each , for_each_ , RESULT_TYPE_PARAM3 , RESULT_TYPE2_PARAM3 ) | |
22 | BOOST_MSM_EUML_FUNCTION(Accumulate_ , std::accumulate , accumulate_ , RESULT_TYPE_PARAM3 , RESULT_TYPE2_PARAM3 ) | |
23 | ||
24 | }}}} | |
25 | ||
26 | #endif //BOOST_MSM_FRONT_EUML_ITERATION_H |