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_DEBUG_TYPEOF_HPP)
9 #define BOOST_SPIRIT_DEBUG_TYPEOF_HPP
11 #include <boost/typeof/typeof.hpp>
13 #include <boost/spirit/home/classic/namespace.hpp>
14 #include <boost/spirit/home/classic/core/typeof.hpp>
16 namespace boost { namespace spirit {
18 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
21 template<typename ContextT> struct parser_context_linker;
22 template<typename ScannerT> struct scanner_context_linker;
23 template<typename ContextT> struct closure_context_linker;
25 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
27 }} // namespace BOOST_SPIRIT_CLASSIC_NS
29 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
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)