File indexing completed on 2026-04-01 08:13:23
0001 #
0002
0003
0004
0005
0006
0007
0008
0009
0010 0011 ">#
0012 #
0013 0014 ">#
0015 # ifndef BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
0016 # define BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
0017 0018 ">#
0019 # include <boost/preprocessor/cat.hpp>
0020 # include <boost/preprocessor/config/config.hpp>
0021 # include <boost/preprocessor/array/size.hpp>
0022 # include <boost/preprocessor/control/if.hpp>
0023 # include <boost/preprocessor/tuple/to_seq.hpp>
0024 0025 ">#
0026 #
0027 0028 ">#
0029 # define BOOST_PP_ARRAY_TO_SEQ(array) \
0030 BOOST_PP_IF \
0031 ( \
0032 BOOST_PP_ARRAY_SIZE(array), \
0033 BOOST_PP_ARRAY_TO_SEQ_DO, \
0034 BOOST_PP_ARRAY_TO_SEQ_EMPTY \
0035 ) \
0036 (array) \
0037
0038 # define BOOST_PP_ARRAY_TO_SEQ_EMPTY(array)
0039 0040 ">#
0041 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0042 # define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_ARRAY_TO_SEQ_I(BOOST_PP_TUPLE_TO_SEQ, array)
0043 # define BOOST_PP_ARRAY_TO_SEQ_I(m, args) BOOST_PP_ARRAY_TO_SEQ_II(m, args)
0044 # define BOOST_PP_ARRAY_TO_SEQ_II(m, args) BOOST_PP_CAT(m ## args,)
0045 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
0046 # define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_ARRAY_TO_SEQ_I(array)
0047 # define BOOST_PP_ARRAY_TO_SEQ_I(array) BOOST_PP_TUPLE_TO_SEQ ## array
0048 # else
0049 # define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_TUPLE_TO_SEQ array
0050 # endif
0051 0052 ">#
0053 # endif