Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:45

0001 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_ANY_OF_C_HPP
0002 #define BOOST_METAPARSE_V1_CPP11_IMPL_ANY_OF_C_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2017.
0005 // Distributed under the Boost Software License, Version 1.0.
0006 //    (See accompanying file LICENSE_1_0.txt or copy at
0007 //          http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #include <boost/metaparse/v1/cpp11/impl/or_c.hpp>
0010 
0011 namespace boost
0012 {
0013   namespace metaparse
0014   {
0015     namespace v1
0016     {
0017       namespace impl
0018       {
0019         template <char... Cs>
0020         struct any_of_c
0021         {
0022           typedef any_of_c type;
0023 
0024           template <class Chr>
0025           struct apply : or_c<(Chr::type::value == Cs)...> {};
0026         };
0027       }
0028     }
0029   }
0030 }
0031 
0032 #endif
0033