1 // Copyright (c) 2001-2011 Hartmut Kaiser
2 // Copyright (c) 2001-2011 Joel de Guzman
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #if !defined(BOOST_SPIRIT_KARMA_DOMAIN_FEB_20_2007_0943AM)
8 #define BOOST_SPIRIT_KARMA_DOMAIN_FEB_20_2007_0943AM
14 #include <boost/spirit/home/support/unused.hpp>
15 #include <boost/spirit/home/support/meta_compiler.hpp>
16 #include <boost/spirit/home/support/info.hpp>
17 #include <boost/spirit/home/support/argument.hpp>
18 #include <boost/spirit/home/support/context.hpp>
20 #include <boost/preprocessor/repeat.hpp>
21 #include <boost/preprocessor/cat.hpp>
23 namespace boost { namespace spirit { namespace karma
28 // bring in some of spirit parts into spirit::karma
30 using spirit::unused_type;
31 using spirit::compile;
34 // You can bring these in with the using directive
35 // without worrying about bringing in too much.
38 BOOST_PP_REPEAT(SPIRIT_ARGUMENTS_LIMIT, SPIRIT_USING_ARGUMENT, _)
39 BOOST_PP_REPEAT(SPIRIT_ATTRIBUTES_LIMIT, SPIRIT_USING_ATTRIBUTE, _)
41 using spirit::_pass_type;
42 using spirit::_val_type;
43 using spirit::_a_type;
44 using spirit::_b_type;
45 using spirit::_c_type;
46 using spirit::_d_type;
47 using spirit::_e_type;
48 using spirit::_f_type;
49 using spirit::_g_type;
50 using spirit::_h_type;
51 using spirit::_i_type;
52 using spirit::_j_type;
54 #ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS