]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/spirit/include/boost/spirit/home/karma/directive/encoding.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / include / boost / spirit / home / karma / directive / encoding.hpp
CommitLineData
7c673cae
FG
1// Copyright (c) 2001-2011 Joel de Guzman
2// Copyright (c) 2001-2011 Hartmut Kaiser
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_KARMA_ENCODING_MARCH_05_2010_0550PM)
8#define SPIRIT_KARMA_ENCODING_MARCH_05_2010_0550PM
9
10#if defined(_MSC_VER)
11#pragma once
12#endif
13
14#include <boost/spirit/home/karma/meta_compiler.hpp>
15#include <boost/spirit/home/support/common_terminals.hpp>
16
17namespace boost { namespace spirit
18{
19 ///////////////////////////////////////////////////////////////////////////
20 // Enablers
21 ///////////////////////////////////////////////////////////////////////////
22
23 // enables encoding
24 template <typename CharEncoding>
25 struct use_directive<
26 karma::domain, tag::char_code<tag::encoding, CharEncoding> >
27 : mpl::true_ {};
28
29 template <typename CharEncoding>
30 struct is_modifier_directive<
31 karma::domain, tag::char_code<tag::encoding, CharEncoding> >
32 : mpl::true_ {};
33}}
34
35#endif