1 ///////////////////////////////////////////////////////////////////////////////
2 // action.hpp
3 //
4 //  Copyright 2008 Eric Niebler. Distributed under the Boost
5 //  Software License, Version 1.0. (See accompanying file
6 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 
8 #ifndef BOOST_XPRESSIVE_DETAIL_CORE_ACTION_HPP_EAN_10_04_2005
9 #define BOOST_XPRESSIVE_DETAIL_CORE_ACTION_HPP_EAN_10_04_2005
10 
11 // MS compatible compilers support #pragma once
12 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
13 # pragma once
14 #endif
15 
16 #include <boost/xpressive/detail/detail_fwd.hpp>
17 #include <boost/xpressive/match_results.hpp> // for type_info_less
18 
19 namespace boost { namespace xpressive { namespace detail
20 {
21 
22     ///////////////////////////////////////////////////////////////////////////////
23     // actionable
24     //
25     struct actionable
26     {
~actionableboost::xpressive::detail::actionable27         virtual ~actionable() {}
executeboost::xpressive::detail::actionable28         virtual void execute(action_args_type *) const {}
29 
actionableboost::xpressive::detail::actionable30         actionable()
31           : next(0)
32         {}
33 
34         actionable const *next;
35     };
36 
37 }}} // namespace boost::xpressive::detail
38 
39 #endif
40