]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/msm/front/euml/phoenix_placeholders.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / msm / front / euml / phoenix_placeholders.hpp
1 // Copyright 2011 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_PHOENIX_PLACEHOLDERS_H
12 #define BOOST_MSM_FRONT_EUML_PHOENIX_PLACEHOLDERS_H
13
14 #include <boost/phoenix/core/argument.hpp>
15 // provide some meaningful placeholders (instead of arg1...arg4)
16 namespace boost { namespace msm { namespace front { namespace euml
17 {
18 boost::phoenix::expression::argument<1>::type const _event = {};
19 boost::phoenix::expression::argument<2>::type const _fsm = {};
20 boost::phoenix::expression::argument<3>::type const _source = {};
21 boost::phoenix::expression::argument<4>::type const _target = {};
22 // this is for state actions
23 boost::phoenix::expression::argument<3>::type const _state = {};
24 }}}}
25
26 #endif //BOOST_MSM_FRONT_EUML_PHOENIX_PLACEHOLDERS_H