1
# /* **************************************************************************
3
# * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
4
# * modify, sell, and distribute this software is granted provided *
5
# * this copyright notice appears in all copies. This software is *
6
# * provided "as is" without express or implied warranty, and with *
7
# * no claim at to its suitability for any purpose. *
9
# ************************************************************************** */
11
# /* See http://www.boost.org for most recent version. */
13
# ifndef BOOST_PREPROCESSOR_LOGICAL_BITNOR_HPP
14
# define BOOST_PREPROCESSOR_LOGICAL_BITNOR_HPP
16
# include <boost/preprocessor/config/config.hpp>
18
# /* BOOST_PP_BITNOR */
20
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
21
# define BOOST_PP_BITNOR(x, y) BOOST_PP_BITNOR_I(x, y)
23
# define BOOST_PP_BITNOR(x, y) BOOST_PP_BITNOR_OO((x, y))
24
# define BOOST_PP_BITNOR_OO(par) BOOST_PP_BITNOR_I ## par
27
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
28
# define BOOST_PP_BITNOR_I(x, y) BOOST_PP_BITNOR_ ## x ## y
30
# define BOOST_PP_BITNOR_I(x, y) BOOST_PP_BITNOR_ID(BOOST_PP_BITNOR_ ## x ## y)
31
# define BOOST_PP_BITNOR_ID(id) id
34
# define BOOST_PP_BITNOR_00 1
35
# define BOOST_PP_BITNOR_01 0
36
# define BOOST_PP_BITNOR_10 0
37
# define BOOST_PP_BITNOR_11 0