Hi,
I was wondering if there was any way to force the compiler to simplify a macro. I have something like this:
so, I need it to expand "imply(VAR_COUNT)" before it defines it. I want the result of the macro to be the name of the define.Code:#define imply(IMPLY_IDENTIFIER) IMPLY_ ## IMPLY_NUMBER ## IMPLY_IDENTIFIER #define imply(VAR_COUNT) 5


Reply With Quote