File indexing completed on 2025-01-18 09:49:14
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 # ifndef BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
0013 # define BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 #
0017 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0018 #
0019 # include <boost/preprocessor/cat.hpp>
0020 # include <boost/preprocessor/arithmetic/dec.hpp>
0021 # include <boost/preprocessor/control/while.hpp>
0022 # include <boost/preprocessor/tuple/elem.hpp>
0023 #
0024 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state) \
0025 BOOST_PP_TUPLE_ELEM(2, 0, state) \
0026
0027 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0028 BOOST_PP_TUPLE_ELEM(2, 1, state) \
0029
0030 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED(d,state) \
0031 BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0032
0033 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP(d,state) \
0034 ( \
0035 BOOST_PP_CAT(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state),), \
0036 BOOST_PP_DEC(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state)) \
0037 ) \
0038
0039 #
0040 #
0041 #
0042 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC(result,seqsize) \
0043 BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT \
0044 ( \
0045 BOOST_PP_WHILE \
0046 ( \
0047 BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED, \
0048 BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP, \
0049 (result,seqsize) \
0050 ) \
0051 ) \
0052
0053 # endif
0054 #
0055 # endif