]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/include/boost/spirit/home/qi/directive/encoding.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / spirit / include / boost / spirit / home / qi / directive / encoding.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3
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)
6 =============================================================================*/
7 #if !defined(SPIRIT_ENCODING_MARCH_05_2010_0528PM)
8 #define SPIRIT_ENCODING_MARCH_05_2010_0528PM
9
10 #if defined(_MSC_VER)
11 #pragma once
12 #endif
13
14 #include <boost/spirit/home/qi/meta_compiler.hpp>
15 #include <boost/spirit/home/support/common_terminals.hpp>
16
17 namespace boost { namespace spirit
18 {
19 ///////////////////////////////////////////////////////////////////////////
20 // Enablers
21 ///////////////////////////////////////////////////////////////////////////
22 template <typename CharEncoding>
23 struct use_directive<
24 qi::domain, tag::char_code<tag::encoding, CharEncoding> > // enables encoding
25 : mpl::true_ {};
26
27 template <typename CharEncoding>
28 struct is_modifier_directive<qi::domain, tag::char_code<tag::encoding, CharEncoding> >
29 : mpl::true_ {};
30 }}
31
32 #endif