Back to home page

EIC code displayed by LXR

 
 

    


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

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 # /* See http://www.boost.org for most recent version. */
0011 #
0012 # ifndef BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP
0013 # define BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 # include <boost/preprocessor/control/expr_iif.hpp>
0017 # include <boost/preprocessor/detail/is_unary.hpp>
0018 # include <boost/preprocessor/tuple/rem.hpp>
0019 #
0020 # /* BOOST_PP_APPLY */
0021 #
0022 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0023 #    define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)
0024 #    define BOOST_PP_APPLY_I(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)
0025 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_BCC()
0026 #    define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)
0027 #    define BOOST_PP_APPLY_I(x) BOOST_PP_APPLY_ ## x
0028 #    define BOOST_PP_APPLY_(x) x
0029 #    define BOOST_PP_APPLY_BOOST_PP_NIL
0030 # else
0031 #    define BOOST_PP_APPLY(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)
0032 # endif
0033 #
0034 # endif