Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:47:36

0001 //  Copyright (c) 2001-2011 Joel de Guzman
0002 //  Copyright (c) 2001-2011 Hartmut Kaiser
0003 //
0004 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_SPIRIT_KARMA_DIRECTIVE_ENCODING_HPP
0008 #define BOOST_SPIRIT_KARMA_DIRECTIVE_ENCODING_HPP
0009 
0010 #if defined(_MSC_VER)
0011 #pragma once
0012 #endif
0013 
0014 #include <boost/spirit/home/karma/meta_compiler.hpp>
0015 #include <boost/spirit/home/support/common_terminals.hpp>
0016 
0017 namespace boost { namespace spirit
0018 {
0019     ///////////////////////////////////////////////////////////////////////////
0020     // Enablers
0021     ///////////////////////////////////////////////////////////////////////////
0022 
0023     // enables encoding
0024     template <typename CharEncoding>
0025     struct use_directive<
0026             karma::domain, tag::char_code<tag::encoding, CharEncoding> > 
0027       : mpl::true_ {};
0028 
0029     template <typename CharEncoding>
0030     struct is_modifier_directive<
0031             karma::domain, tag::char_code<tag::encoding, CharEncoding> >
0032       : mpl::true_ {};
0033 }}
0034 
0035 #endif