File indexing completed on 2025-01-18 09:48:23
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 # ifndef BOOST_PREPROCESSOR_DETAIL_SPLIT_HPP
0011 # define BOOST_PREPROCESSOR_DETAIL_SPLIT_HPP
0012 #
0013 # include <boost/preprocessor/config/config.hpp>
0014 #
0015 #
0016 #
0017 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
0018 # define BOOST_PP_SPLIT(n, im) BOOST_PP_SPLIT_I((n, im))
0019 # define BOOST_PP_SPLIT_I(par) BOOST_PP_SPLIT_II ## par
0020 # define BOOST_PP_SPLIT_II(n, a, b) BOOST_PP_SPLIT_ ## n(a, b)
0021 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0022 # define BOOST_PP_SPLIT(n, im) BOOST_PP_SPLIT_I(n((im)))
0023 # define BOOST_PP_SPLIT_I(n) BOOST_PP_SPLIT_ID(BOOST_PP_SPLIT_II_ ## n)
0024 # define BOOST_PP_SPLIT_II_0(s) BOOST_PP_SPLIT_ID(BOOST_PP_SPLIT_0 s)
0025 # define BOOST_PP_SPLIT_II_1(s) BOOST_PP_SPLIT_ID(BOOST_PP_SPLIT_1 s)
0026 # define BOOST_PP_SPLIT_ID(id) id
0027 # else
0028 # define BOOST_PP_SPLIT(n, im) BOOST_PP_SPLIT_I(n)(im)
0029 # define BOOST_PP_SPLIT_I(n) BOOST_PP_SPLIT_ ## n
0030 # endif
0031 #
0032 # define BOOST_PP_SPLIT_0(a, b) a
0033 # define BOOST_PP_SPLIT_1(a, b) b
0034 #
0035 # endif