]> git.lyx.org Git - lyx.git/blob - boost/boost/preprocessor/facilities/apply.hpp
MathML for InsetMathBoldSymbol.
[lyx.git] / boost / boost / preprocessor / facilities / apply.hpp
1 # /* **************************************************************************\r
2 #  *                                                                          *\r
3 #  *     (C) Copyright Paul Mensonides 2002.\r
4 #  *     Distributed under the Boost Software License, Version 1.0. (See\r
5 #  *     accompanying file LICENSE_1_0.txt or copy at\r
6 #  *     http://www.boost.org/LICENSE_1_0.txt)\r
7 #  *                                                                          *\r
8 #  ************************************************************************** */\r
9 #\r
10 # /* See http://www.boost.org for most recent version. */\r
11 #\r
12 # ifndef BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP\r
13 # define BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP\r
14 #\r
15 # include <boost/preprocessor/config/config.hpp>\r
16 # include <boost/preprocessor/control/expr_iif.hpp>\r
17 # include <boost/preprocessor/detail/is_unary.hpp>\r
18 # include <boost/preprocessor/tuple/rem.hpp>\r
19 #\r
20 # /* BOOST_PP_APPLY */\r
21 #\r
22 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()\r
23 #    define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)\r
24 #    define BOOST_PP_APPLY_I(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)\r
25 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_BCC()\r
26 #    define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)\r
27 #    define BOOST_PP_APPLY_I(x) BOOST_PP_APPLY_ ## x\r
28 #    define BOOST_PP_APPLY_(x) x\r
29 #    define BOOST_PP_APPLY_BOOST_PP_NIL\r
30 # else\r
31 #    define BOOST_PP_APPLY(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)\r
32 # endif\r
33 #\r
34 # endif\r