Back to home page

EIC code displayed by LXR

 
 

    


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

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_CONTROL_EXPR_IIF_HPP
0013 # define BOOST_PREPROCESSOR_CONTROL_EXPR_IIF_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 #
0017 # /* BOOST_PP_EXPR_IIF */
0018 #
0019 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
0020 #    define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_I(bit, expr)
0021 # else
0022 #    define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_OO((bit, expr))
0023 #    define BOOST_PP_EXPR_IIF_OO(par) BOOST_PP_EXPR_IIF_I ## par
0024 # endif
0025 #
0026 # define BOOST_PP_EXPR_IIF_I(bit, expr) BOOST_PP_EXPR_IIF_ ## bit(expr)
0027 #
0028 # define BOOST_PP_EXPR_IIF_0(expr)
0029 # define BOOST_PP_EXPR_IIF_1(expr) expr
0030 #
0031 # endif