File indexing completed on 2025-01-18 09:40:46
0001 #ifndef BOOST_METAPARSE_V1_CPP11_OR_C_HPP
0002 #define BOOST_METAPARSE_V1_CPP11_OR_C_HPP
0003
0004
0005
0006
0007
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 <bool... Bs>
0020 struct or_c;
0021
0022 template <>
0023 struct or_c<> : boost::mpl::false_ {};
0024
0025 template <bool... Bs>
0026 struct or_c<true, Bs...> : boost::mpl::true_ {};
0027
0028 template <bool... Bs>
0029 struct or_c<false, Bs...> : or_c<Bs...> {};
0030 }
0031 }
0032 }
0033 }
0034
0035 #endif
0036