File indexing completed on 2025-01-18 09:49:28
0001 #
0002
0003
0004
0005
0006
0007
0008
0009
0010 #
0011 #
0012 #
0013 # ifndef BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP
0014 # define BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP
0015 #
0016 # include <boost/preprocessor/punctuation/comma.hpp>
0017 # include <boost/preprocessor/punctuation/paren.hpp>
0018 # include <boost/preprocessor/seq/detail/binary_transform.hpp>
0019 #
0020 #
0021 #
0022 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0023 # include <boost/preprocessor/seq/size.hpp>
0024 # include <boost/preprocessor/seq/detail/to_list_msvc.hpp>
0025 # define BOOST_PP_SEQ_TO_LIST(seq) \
0026 BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC \
0027 ( \
0028 BOOST_PP_SEQ_TO_LIST_I(BOOST_PP_SEQ_BINARY_TRANSFORM(seq)), \
0029 BOOST_PP_SEQ_SIZE(seq) \
0030 ) \
0031
0032 # else
0033 # define BOOST_PP_SEQ_TO_LIST(seq) BOOST_PP_SEQ_TO_LIST_I(BOOST_PP_SEQ_BINARY_TRANSFORM(seq))
0034 # endif
0035 # define BOOST_PP_SEQ_TO_LIST_I(bseq) BOOST_PP_SEQ_TO_LIST_A bseq BOOST_PP_NIL BOOST_PP_SEQ_TO_LIST_B bseq
0036 # define BOOST_PP_SEQ_TO_LIST_A(m, e) m(BOOST_PP_LPAREN() e BOOST_PP_COMMA() BOOST_PP_SEQ_TO_LIST_A_ID)
0037 # define BOOST_PP_SEQ_TO_LIST_A_ID() BOOST_PP_SEQ_TO_LIST_A
0038 # define BOOST_PP_SEQ_TO_LIST_B(m, e) m(BOOST_PP_RPAREN() BOOST_PP_SEQ_TO_LIST_B_ID)
0039 # define BOOST_PP_SEQ_TO_LIST_B_ID() BOOST_PP_SEQ_TO_LIST_B
0040 #
0041 # endif