#ifndef BOOST_PREPROCESSOR_LOGICAL_AND_HPP #define BOOST_PREPROCESSOR_LOGICAL_AND_HPP /* Copyright (C) 2001 * Housemarque Oy * http://www.housemarque.com * * Permission to copy, use, modify, sell and distribute this software is * granted provided this copyright notice appears in all copies. This * software is provided "as is" without express or implied warranty, and * with no claim as to its suitability for any purpose. * * See http://www.boost.org for most recent version. */ #include /**

Expands to the logical AND of the operands.

For example, BOOST_PP_AND(0,5) expands to 0 (a single token).

Test

*/ #define BOOST_PP_AND(X,Y) BOOST_PP_NOR(BOOST_PP_NOT(X),BOOST_PP_NOT(Y)) /**

Obsolete. Use BOOST_PP_AND().

*/ #define BOOST_PREPROCESSOR_AND(X,Y) BOOST_PP_AND(X,Y) #endif