]> git.sesse.net Git - casparcg/blob - dependencies/boost/boost/spirit/home/classic/debug/typeof.hpp
Manually merged pull request #222
[casparcg] / dependencies / boost / boost / spirit / home / classic / debug / typeof.hpp
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_DEBUG_TYPEOF_HPP)
9 #define BOOST_SPIRIT_DEBUG_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
16 namespace boost { namespace spirit {
17
18 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
19
20     // debug_node.hpp
21     template<typename ContextT> struct parser_context_linker;
22     template<typename ScannerT> struct scanner_context_linker;
23     template<typename ContextT> struct closure_context_linker;
24
25 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
26
27 }} // namespace BOOST_SPIRIT_CLASSIC_NS
28
29 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
30
31 // debug_node.hpp
32 BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::parser_context_linker,1)
33 BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::scanner_context_linker,1)
34 BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::closure_context_linker,1)
35
36 #endif
37