]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/metaparse/v1/lit_c.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / metaparse / v1 / lit_c.hpp
1 #ifndef BOOST_METAPARSE_V1_LIT_C_HPP
2 #define BOOST_METAPARSE_V1_LIT_C_HPP
3
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8
9 #include <boost/metaparse/v1/error/literal_expected.hpp>
10 #include <boost/metaparse/v1/accept_when.hpp>
11 #include <boost/metaparse/v1/one_char.hpp>
12 #include <boost/metaparse/v1/change_error_message.hpp>
13 #include <boost/metaparse/v1/impl/is_char_c.hpp>
14
15 namespace boost
16 {
17 namespace metaparse
18 {
19 namespace v1
20 {
21 template <char C>
22 struct lit_c :
23 accept_when<
24 change_error_message<one_char, error::literal_expected<C> >,
25 impl::is_char_c<C>,
26 error::literal_expected<C>
27 >
28 {};
29 }
30 }
31 }
32
33 #endif
34