]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/preprocessor/control/expr_iif.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
01818fe6fe41df3119bd039ca37749b47ca3d04d
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / preprocessor / control / expr_iif.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_CONTROL_EXPR_IIF_HPP\r
13 # define BOOST_PREPROCESSOR_CONTROL_EXPR_IIF_HPP\r
14 #\r
15 # include <boost/preprocessor/config/config.hpp>\r
16 #\r
17 # /* BOOST_PP_EXPR_IIF */\r
18 #\r
19 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()\r
20 #    define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_I(bit, expr)\r
21 # else\r
22 #    define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_OO((bit, expr))\r
23 #    define BOOST_PP_EXPR_IIF_OO(par) BOOST_PP_EXPR_IIF_I ## par\r
24 # endif\r
25 #\r
26 # define BOOST_PP_EXPR_IIF_I(bit, expr) BOOST_PP_EXPR_IIF_ ## bit(expr)\r
27 #\r
28 # define BOOST_PP_EXPR_IIF_0(expr)\r
29 # define BOOST_PP_EXPR_IIF_1(expr) expr\r
30 #\r
31 # endif\r