Is there a way to insert preprocessor macro using another preprocessor macro?
Can I do something like, for instance
#define INSERT_MACRO(x) {#ifdef MYFLAG x; #endif}
so that when I write
INSERT_MACRO(foo(););
it is converted to
#ifdef MYFLAG
foo();
#endif
? Thanks!