Back to home page

EIC code displayed by LXR

 
 

    


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

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_LOGICAL_BITAND_HPP
0013 # define BOOST_PREPROCESSOR_LOGICAL_BITAND_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 #
0017 # /* BOOST_PP_BITAND */
0018 #
0019 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
0020 #    define BOOST_PP_BITAND(x, y) BOOST_PP_BITAND_I(x, y)
0021 # else
0022 #    define BOOST_PP_BITAND(x, y) BOOST_PP_BITAND_OO((x, y))
0023 #    define BOOST_PP_BITAND_OO(par) BOOST_PP_BITAND_I ## par
0024 # endif
0025 #
0026 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0027 #    define BOOST_PP_BITAND_I(x, y) BOOST_PP_BITAND_ ## x ## y
0028 # else
0029 #    define BOOST_PP_BITAND_I(x, y) BOOST_PP_BITAND_ID(BOOST_PP_BITAND_ ## x ## y)
0030 #    define BOOST_PP_BITAND_ID(res) res
0031 # endif
0032 #
0033 # define BOOST_PP_BITAND_00 0
0034 # define BOOST_PP_BITAND_01 0
0035 # define BOOST_PP_BITAND_10 0
0036 # define BOOST_PP_BITAND_11 1
0037 #
0038 # endif