File indexing completed on 2025-01-18 09:48:07
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 # ifndef BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP
0013 # define BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 # include <boost/preprocessor/tuple/rem.hpp>
0017 # include <boost/preprocessor/control/if.hpp>
0018 # include <boost/preprocessor/control/iif.hpp>
0019 # include <boost/preprocessor/facilities/is_1.hpp>
0020 #
0021 #
0022 #
0023 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_NONE(size, data)
0024
0025 # if !(BOOST_PP_VARIADICS_MSVC && _MSC_VER <= 1400)
0026 # if BOOST_PP_VARIADICS_MSVC
0027 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_DEFAULT(size, data) BOOST_PP_TUPLE_REM(size) data
0028 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_CAT(size, data) BOOST_PP_TUPLE_REM_CAT(size) data
0029 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) \
0030 BOOST_PP_IIF \
0031 ( \
0032 BOOST_PP_IS_1(size), \
0033 BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_CAT, \
0034 BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_DEFAULT \
0035 ) \
0036 (size,data) \
0037
0038 # else
0039 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) BOOST_PP_TUPLE_REM(size) data
0040 # endif
0041 # else
0042 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) BOOST_PP_TUPLE_REM(size) data
0043 # endif
0044
0045 # define BOOST_PP_ARRAY_DETAIL_GET_DATA(size, data) \
0046 BOOST_PP_IF \
0047 ( \
0048 size, \
0049 BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY, \
0050 BOOST_PP_ARRAY_DETAIL_GET_DATA_NONE \
0051 ) \
0052 (size,data) \
0053
0054 #
0055 # endif