XLE
v0.02.0
|
Wraps a compile condition for a if() statement More...
#include <Prefix.h>
Static Public Member Functions | |
static bool | result () |
Wraps a compile condition for a if() statement
Visual Studio produces "Conditional Expression is Constant" warnings when a static boolean value is used in a condition. This is a simple way to explicitly specify that the condition is a static/compile time condition and avoid any warnings. eg: