Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:23

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2002.
0004 #  *     Distributed under the Boost Software License, Version 1.0. (See
0005 #  *     accompanying file LICENSE_1_0.txt or copy at
0006 #  *     http://www.boost.org/LICENSE_1_0.txt)
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 # /* BOOST_PP_SPLIT */
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