static if enhancement

QAston via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 26 14:23:59 PDT 2016


On Sunday, 26 June 2016 at 21:14:16 UTC, QAston wrote:
> Also - metaprogramming. You don't know the control flow of 
> whatever you may be printing in a mixin, or having as a 
> parameter in a template. Making such code even more difficult 
> to analyze.

Also, this couples runtime control flow with conditional 
compilation. Those are orthogonal and imo should be kept that 
way. For me, that's least surprising behavior.


More information about the Digitalmars-d mailing list