Am 15.09.2011, 11:44 Uhr, schrieb Don Clugston <dclugs...@googlemail.com>:
I think there is a simple solution to 'static if'.
Do const folding on every static if condition, giving a boolean result.
Do NOT evaluate any static if bodies yet.
This would have the same effect as if every 'static if' were evaluated
simultaneously.

What if the condition includes symbols from another static if's body or mixin or whatever?
_______________________________________________
dmd-internals mailing list
dmd-internals@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to