123456789101112131415161718192021222324252627282930 |
- #ifndef BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
- #define BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
- #include <boost/preprocessor/seq/subseq.hpp>
- #include <boost/preprocessor/repetition/repeat.hpp>
- #include <boost/preprocessor/arithmetic/add.hpp>
- #define BOOST_MPL_PP_RANGE_ITEM(z,n,_) (n)
- #define BOOST_MPL_PP_RANGE(first, length) \
- BOOST_PP_SEQ_SUBSEQ( \
- BOOST_PP_REPEAT(BOOST_PP_ADD(first,length), BOOST_MPL_PP_RANGE_ITEM, _), \
- first, length \
- ) \
- #endif
|