The BOOST_PP_BOOL macro performs a boolean conversion on its operand.
Usage
BOOST_PP_BOOL(x)
Arguments
- x
-
The value to be converted.
Valid values range from 0 to BOOST_PP_LIMIT_MAG.
Remarks
If x is 0, this macro expands to 0.
Otherwise it expands to 1.
See Also
Requirements
Sample Code