digitalmars.D - Should static if be allowed at module level?
- Jarrett Billingsley (6/6) Jul 20 2005 static if is technically a kind of conditional compilation.
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?
Jul 20 2005