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

Private GIT Repository
21dd8d9e19e2e7d74dd01768464c7f6176410b84
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / preprocessor / control / 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_IIF_HPP\r
13 # define BOOST_PREPROCESSOR_CONTROL_IIF_HPP\r
14 #\r
15 # include <boost/preprocessor/config/config.hpp>\r
16 #\r
17 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()\r
18 #    define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)\r
19 # else\r
20 #    define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_OO((bit, t, f))\r
21 #    define BOOST_PP_IIF_OO(par) BOOST_PP_IIF_I ## par\r
22 # endif\r
23 #\r
24 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()\r
25 #    define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f)\r
26 # else\r
27 #    define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_II(BOOST_PP_IIF_ ## bit(t, f))\r
28 #    define BOOST_PP_IIF_II(id) id\r
29 # endif\r
30 #\r
31 # define BOOST_PP_IIF_0(t, f) f\r
32 # define BOOST_PP_IIF_1(t, f) t\r
33 #\r
34 # endif\r