The BOOST_PP_NOT macro performs a logical NOT on its operand.
Usage
BOOST_PP_NOT(x)
Arguments
- x
-
The value to be converted.
Valid values range from 0 to BOOST_PP_LIMIT_MAG.
Remarks
If x is zero, this macro expands to 1.
Otherwise, it expands to 0.
This macro performs a boolean conversion on its operand before performing the logical NOT operation.
If that conversion is not necessary, use BOOST_PP_COMPL instead.
See Also
Requirements
Sample Code