File indexing completed on 2025-01-18 09:40:48
0001 #ifndef BOOST_METAPARSE_V1_CPP98_ONE_OF_HPP
0002 #define BOOST_METAPARSE_V1_CPP98_ONE_OF_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/cpp98/impl/one_of.hpp>
0010 #include <boost/metaparse/limit_one_of_size.hpp>
0011
0012 #include <boost/mpl/vector.hpp>
0013
0014 #include <boost/preprocessor/repetition/enum_params.hpp>
0015 #include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
0016
0017 namespace boost
0018 {
0019 namespace metaparse
0020 {
0021 namespace v1
0022 {
0023 template <
0024 BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
0025 BOOST_METAPARSE_LIMIT_ONE_OF_SIZE,
0026 class P,
0027 boost::mpl::na
0028 )
0029 >
0030 struct one_of :
0031 impl::one_of<
0032 boost::mpl::vector<
0033 BOOST_PP_ENUM_PARAMS(BOOST_METAPARSE_LIMIT_ONE_OF_SIZE, P)
0034 >
0035 >
0036 {};
0037 }
0038 }
0039 }
0040
0041 #endif
0042