]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/spirit/include/boost/spirit/home/classic/attribute/typeof.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / include / boost / spirit / home / classic / attribute / typeof.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2006 Tobias Schwinger
3 http://spirit.sourceforge.net/
4
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_ATTRIBUTE_TYPEOF_HPP)
9#define BOOST_SPIRIT_ATTRIBUTE_TYPEOF_HPP
10
11#include <boost/typeof/typeof.hpp>
12
13#include <boost/spirit/home/classic/namespace.hpp>
14#include <boost/spirit/home/classic/core/typeof.hpp>
15#include <boost/spirit/home/classic/attribute/closure_fwd.hpp>
16
17namespace boost { namespace spirit {
18
19BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
20
21 // parametric.hpp
22 template<typename ChGenT> struct f_chlit;
23 template<typename ChGenAT, typename ChGenBT> struct f_range;
24 template<typename IterGenAT, typename IterGenBT> class f_chseq;
25 template<typename IterGenAT, typename IterGenBT> class f_strlit;
26
27BOOST_SPIRIT_CLASSIC_NAMESPACE_END
28
29}} // namespace BOOST_SPIRIT_CLASSIC_NS
30
31
32#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
33
34
35// parametric.hpp
36
37BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::f_chlit,1)
38BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::f_range,2)
39BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::f_chseq,2)
40BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::f_strlit,2)
41
42
43// closure.hpp (has forward header)
44
45BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure,BOOST_SPIRIT_CLOSURE_LIMIT)
46BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure_context,1)
47BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::init_closure_context,1)
48BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::init_closure_parser,2)
49
50
51#if BOOST_SPIRIT_CLOSURE_LIMIT > 12
52BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure,12)
53#endif
54#if BOOST_SPIRIT_CLOSURE_LIMIT > 9
55BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure, 9)
56#endif
57#if BOOST_SPIRIT_CLOSURE_LIMIT > 6
58BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure, 6)
59#endif
60#if BOOST_SPIRIT_CLOSURE_LIMIT > 3
61BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure, 3)
62#endif
63
64
65
66#endif
67