The BOOST_PP_RPAREN_IF macro conditionally expands to a right parenthesis.
Usage
BOOST_PP_RPAREN_IF(cond)
Arguments
- cond
-
The condition that determines if a the macro expands to a right parenthesis or nothing.
Valid values range from 0 to BOOST_PP_LIMIT_MAG.
Remarks
If cond expands to 0, this macro expands to nothing.
Otherwise, it expands to a right parenthesis.
The preprocessor interprets parentheses as delimiters in macro invocations.
Because of this, parentheses require special handling.
See Also
Requirements
Sample Code