PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/msm/common.hpp

http://hadesmem.googlecode.com/
C++ Header | 27 lines | 9 code | 7 blank | 11 comment | 0 complexity | 41539fcb587389bbcf9bac2145cdec27 MD5 | raw file
 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_COMMON_H
12#define BOOST_MSM_COMMON_H
13
14
15
16namespace boost { namespace msm
17{
18// wrapper for mpl::for_each as showed in the C++ Template Metaprogramming ch. 9
19template <class T>
20struct wrap{};
21
22// tag to use in grammars where states are seen (init_<<, states_<<...)
23struct state_tag{};
24
25} } // boost::msm
26#endif //BOOST_MSM_COMMON_H
27