1 /*=============================================================================
2 Copyright (c) 2006 Tobias Schwinger
3 http://spirit.sourceforge.net/
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 #if !defined(BOOST_SPIRIT_CLOSURE_FWD_HPP)
9 #define BOOST_SPIRIT_CLOSURE_FWD_HPP
11 #include <boost/spirit/home/classic/namespace.hpp>
12 #include <boost/spirit/home/classic/phoenix/tuples.hpp>
14 #if !defined(BOOST_SPIRIT_CLOSURE_LIMIT)
15 # define BOOST_SPIRIT_CLOSURE_LIMIT PHOENIX_LIMIT
18 namespace boost { namespace spirit {
20 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
22 template<typename ClosureT>
23 class closure_context;
25 template <typename ClosureT>
26 class init_closure_context;
28 template <typename ParserT, typename ActorTupleT>
29 struct init_closure_parser;
33 , typename T0 = ::phoenix::nil_t
34 , typename T1 = ::phoenix::nil_t
35 , typename T2 = ::phoenix::nil_t
37 #if BOOST_SPIRIT_CLOSURE_LIMIT > 3
38 , typename T3 = ::phoenix::nil_t
39 , typename T4 = ::phoenix::nil_t
40 , typename T5 = ::phoenix::nil_t
42 #if BOOST_SPIRIT_CLOSURE_LIMIT > 6
43 , typename T6 = ::phoenix::nil_t
44 , typename T7 = ::phoenix::nil_t
45 , typename T8 = ::phoenix::nil_t
47 #if BOOST_SPIRIT_CLOSURE_LIMIT > 9
48 , typename T9 = ::phoenix::nil_t
49 , typename T10 = ::phoenix::nil_t
50 , typename T11 = ::phoenix::nil_t
52 #if BOOST_SPIRIT_CLOSURE_LIMIT > 12
53 , typename T12 = ::phoenix::nil_t
54 , typename T13 = ::phoenix::nil_t
55 , typename T14 = ::phoenix::nil_t
64 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
66 }} // namespace BOOST_SPIRIT_CLASSIC_NS