#include <boost/preprocessor/logical/bitand.hpp> BOOST_PP_BITAND(0, 0) // expands to 0 BOOST_PP_BITAND(0, 1) // expands to 0 BOOST_PP_BITAND(1, 0) // expands to 0 BOOST_PP_BITAND(1, 1) // expands to 1
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)