]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/metaparse/v1/impl/is_char_c.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / metaparse / v1 / impl / is_char_c.hpp
1 #ifndef BOOST_METAPARSE_V1_IMPL_IS_CHAR_C_HPP
2 #define BOOST_METAPARSE_V1_IMPL_IS_CHAR_C_HPP
3
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
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/mpl/bool.hpp>
10
11 namespace boost
12 {
13 namespace metaparse
14 {
15 namespace v1
16 {
17 namespace impl
18 {
19 template <char C>
20 struct is_char_c
21 {
22 typedef is_char_c type;
23
24 template <class Ch>
25 struct apply : boost::mpl::bool_<Ch::type::value == C> {};
26 };
27 }
28 }
29 }
30 }
31
32 #endif
33