File indexing completed on 2025-01-18 09:41:37
0001
0002 #ifndef BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <boost/preprocessor/seq/subseq.hpp>
0018 #include <boost/preprocessor/repetition/repeat.hpp>
0019 #include <boost/preprocessor/arithmetic/add.hpp>
0020
0021 #define BOOST_MPL_PP_RANGE_ITEM(z,n,_) (n)
0022
0023 #define BOOST_MPL_PP_RANGE(first, length) \
0024 BOOST_PP_SEQ_SUBSEQ( \
0025 BOOST_PP_REPEAT(BOOST_PP_ADD(first,length), BOOST_MPL_PP_RANGE_ITEM, _), \
0026 first, length \
0027 ) \
0028
0029
0030 #endif