July 20, 2005
static if is technically a kind of conditional compilation.

version and debug are other forms of conditional compilation.

version and debug are allowed at module level, while static if is only allowed in functions.

Other static constructs, such as static assert, are allowed at module level.

Do you think static if should be?