File indexing completed on 2025-01-30 09:46:45
0001 #ifndef BOOST_METAPARSE_SEQUENCE_APPLY_HPP
0002 #define BOOST_METAPARSE_SEQUENCE_APPLY_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/sequence_apply.hpp>
0010
0011 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
0012 #include <boost/preprocessor/cat.hpp>
0013
0014 namespace boost
0015 {
0016 namespace metaparse
0017 {
0018 #ifdef BOOST_METAPARSE_USING
0019 # error BOOST_METAPARSE_USING already defined
0020 #endif
0021 #define BOOST_METAPARSE_USING(z, n, unused) \
0022 using BOOST_PP_CAT(v1::sequence_apply, n);
0023
0024 BOOST_PP_REPEAT_FROM_TO(
0025 1,
0026 BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE,
0027 BOOST_METAPARSE_USING,
0028 ~
0029 )
0030
0031 #undef BOOST_METAPARSE_USING
0032 }
0033 }
0034
0035 #endif
0036