Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_IS_NONE_C_IMPL_HPP
0002 #define BOOST_METAPARSE_V1_CPP11_IMPL_IS_NONE_C_IMPL_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/mpl/bool.hpp>
0010 
0011 namespace boost
0012 {
0013   namespace metaparse
0014   {
0015     namespace v1
0016     {
0017       namespace impl
0018       {
0019         template <char D, char... Cs>
0020         struct is_none_c_impl;
0021 
0022         template <char D>
0023         struct is_none_c_impl<D> : boost::mpl::bool_<true> {};
0024 
0025         template <char D, char... Cs>
0026         struct is_none_c_impl<D, D, Cs...> : boost::mpl::bool_<false> {};
0027 
0028         template <char D, char C, char... Cs>
0029         struct is_none_c_impl<D, C, Cs...> : is_none_c_impl<D, Cs...> {};
0030       }
0031     }
0032   }
0033 }
0034 
0035 #endif
0036