###  | # Boost.Preprocessor ## Reference

Prev Next Macros Headers

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

## #define BOOST_PP_NOT(X)

Expands to the logical NOT of the operand.

For example, `BOOST_PP_NOT(0)` expands to `1` (a single token).

### Test

- logical_test.cpp

## #define BOOST_PREPROCESSOR_NOT(X)

Obsolete. Use BOOST_PP_NOT().

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.