Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Microsoft Specific

The __noop intrinsic specifies that a function should be ignored and the argument list unevaluated. It is intended for use in global debug functions that take a variable number of arguments.

The following code shows how you could use __noop:

// compiler_intrinsics__noop.cpp
// compile with or without /DDEBUG
#include <stdio.h>

   #define PRINT   printf
   #define PRINT   __noop

int main() {

END Microsoft Specific

See Also

Compiler Intrinsics | C++ Keywords

© 2015 Microsoft