1 #ifndef BOOST_METAPARSE_V1_REPEATED_ONE_OF1_HPP
2 #define BOOST_METAPARSE_V1_REPEATED_ONE_OF1_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2010.
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)
9 #include <boost/metaparse/limit_one_of_size.hpp>
10 #include <boost/metaparse/v1/impl/one_of.hpp>
11 #include <boost/metaparse/v1/repeated1.hpp>
13 #include <boost/mpl/vector.hpp>
15 #include <boost/preprocessor/repetition/enum_params.hpp>
16 #include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
25 BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
26 BOOST_METAPARSE_LIMIT_ONE_OF_SIZE,
31 struct repeated_one_of1 :
35 BOOST_PP_ENUM_PARAMS(BOOST_METAPARSE_LIMIT_ONE_OF_SIZE, P)