File indexing completed on 2025-01-18 09:48:07
0001 #
0002
0003
0004
0005
0006
0007
0008
0009
0010 #
0011 #
0012 #
0013 # ifndef BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
0014 # define BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
0015 #
0016 # include <boost/preprocessor/array/data.hpp>
0017 # include <boost/preprocessor/array/size.hpp>
0018 # include <boost/preprocessor/control/if.hpp>
0019 #
0020 #
0021 #
0022 # define BOOST_PP_ARRAY_TO_TUPLE(array) \
0023 BOOST_PP_IF \
0024 ( \
0025 BOOST_PP_ARRAY_SIZE(array), \
0026 BOOST_PP_ARRAY_DATA, \
0027 BOOST_PP_ARRAY_TO_TUPLE_EMPTY \
0028 ) \
0029 (array) \
0030
0031 # define BOOST_PP_ARRAY_TO_TUPLE_EMPTY(array)
0032 #
0033 # endif