Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:02:45

0001 // Copyright 2008 Christophe Henry
0002 // henry UNDERSCORE christophe AT hotmail DOT com
0003 // This is an extended version of the state machine available in the boost::mpl library
0004 // Distributed under the same license as the original.
0005 // Copyright for the original version:
0006 // Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
0007 // under the Boost Software License, Version 1.0. (See accompanying
0008 // file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_MSM_EVENT_TRAITS_H
0012 #define BOOST_MSM_EVENT_TRAITS_H
0013 
0014 #include <boost/msm/kleene_event.hpp>
0015 #include <boost/any.hpp>
0016 
0017 namespace boost { namespace msm
0018 {
0019 
0020 // add this way in this namespace specializations for events which you want to use as kleene
0021 // requirement: a copy-constructor matching the events which will be converted to this kleene
0022 template <>
0023 struct is_kleene_event<boost::any> : std::true_type {};
0024 
0025 }} // boost::msm
0026 
0027 #endif //BOOST_MSM_EVENT_TRAITS_H