###  | # Boost.Preprocessor ## Reference

Prev Next Macros Headers

# #include <boost/preprocessor/logical/bool.hpp>

## #define BOOST_PP_BOOL(X)

Expands to `0` if `X == 0` and `1` if `X != 0`.

## #define BOOST_PREPROCESSOR_BOOL(X)

Obsolete. Use BOOST_PP_BOOL().

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.