I was reading about __noop and the MSDN example is
#if DEBUG
#define PRINT printf_s
#else
#define PRINT __noop
#endif
int main() {
PRINT("\nhello\n");
}
and I don't see the gain over just having an empty macro:
#define PRINT
The generated code is the same. What's a valid example of using __noop
that actually makes it useful?