]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / metaparse / v1 / cpp11 / impl / any_of_c.hpp
1 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_ANY_OF_C_HPP
2 #define BOOST_METAPARSE_V1_CPP11_IMPL_ANY_OF_C_HPP
3
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2017.
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/cpp11/impl/or_c.hpp>
10
11 namespace boost
12 {
13 namespace metaparse
14 {
15 namespace v1
16 {
17 namespace impl
18 {
19 template <char... Cs>
20 struct any_of_c
21 {
22 typedef any_of_c type;
23
24 template <class Chr>
25 struct apply : or_c<(Chr::type::value == Cs)...> {};
26 };
27 }
28 }
29 }
30 }
31
32 #endif
33