]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/msm/front/common_states.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / msm / front / common_states.hpp
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_COMMON_STATES_H
12 #define BOOST_MSM_FRONT_COMMON_STATES_H
13
14 #include <boost/mpl/int.hpp>
15 #include <boost/mpl/vector.hpp>
16 #include <boost/fusion/container/map.hpp>
17 #include <boost/fusion/include/at_c.hpp>
18 #include <boost/type_traits/add_const.hpp>
19 #include <boost/msm/front/detail/common_states.hpp>
20
21 namespace boost { namespace msm { namespace front
22 {
23 // default base: non-polymorphic, not visitable
24 struct default_base_state
25 {
26 ~default_base_state(){}
27 };
28 // default polymorphic base state. Derive all states from it to get polymorphic behavior
29 struct polymorphic_state
30 {
31 virtual ~polymorphic_state() {}
32 };
33
34 }}}
35
36 #endif //BOOST_MSM_FRONT_COMMON_STATES_H
37