I have the following macro:
#define REFLECTABLE(...) \
REFLECTABLE_CONST(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__)==0, __VA_ARGS__)
I ran the pre-processor. It passes to REFLECTABLE_CONST
3==0
instead of 0
or false
. In REFLECTABLE_CONST
, I am using that value to simulate a conditional as described in this post. So, I need the pre-processor to pass a value. Is there a way to make pre-processor substitute things like 3==0
by false
or 0
?