The BOOST_PP_BITNOR macro expands to the bitwise NOR of its operands.
Usage
BOOST_PP_BITNOR(x, y)
Arguments
- x
-
The left operand of the operation.
This value must expand to 0 or 1.
- y
-
The right operand of the operation.
This value must expand to 0 or 1.
Remarks
If neither x nor y is 1, this macro expands to 1.
Otherwise, it expands to 0.
This macro does not perform a boolean conversion on either operand before performing the bitwise NOR operation.
If that conversion is necessary, use BOOST_PP_NOR instead.
See Also
Requirements
Sample Code