1 #ifndef BOOST_METAPARSE_SEQUENCE_APPLY_HPP
2 #define BOOST_METAPARSE_SEQUENCE_APPLY_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
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/v1/sequence_apply.hpp>
11 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
12 #include <boost/preprocessor/cat.hpp>
18 #ifdef BOOST_METAPARSE_USING
19 # error BOOST_METAPARSE_USING already defined
21 #define BOOST_METAPARSE_USING(z, n, unused) \
22 using BOOST_PP_CAT(v1::sequence_apply, n);
24 BOOST_PP_REPEAT_FROM_TO(
26 BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE,
27 BOOST_METAPARSE_USING,
31 #undef BOOST_METAPARSE_USING