###  | # Boost.Preprocessor ## Header <boost/preprocessor/logical/and.hpp>

Prev Next Macros Headers

### #define BOOST_PP_AND(X,Y)

Expands to the logical AND of the operands.

Both `X` and `Y` must expand to integer literals in the range [0, BOOST_PP_LIMIT_MAG].

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

### Test

- logical_test.cpp

Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.