C++ Language/Preprocessing/ConditionalCompilation

The traditional way to conditionally-compile code was to use  or. But the preprocessor cannot reason about types, so modern code sometimes uses  instead.

Additional information about conditional-compilation (includes interactive examples)