if and #if in my experience are both evaluated at compile time if the value used as a conditional is a const expression (or evaluates to a constant) --on NVidia at least. if () results in "much" more readible code.
if and #if in my experience are both evaluated at compile time if the value used as a conditional is a const expression (or evaluates to a constant) --on NVidia at least. if () results in "much" more readible code.