static switch

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Mar 5 10:39:09 PST 2014


On 3/5/14, 4:51 AM, Dominikus Dittes Scherkl wrote:
> I wonder why there is no static switch (analogue to static if)?

Doesn't enable anything. There'd be a ton more juice in a static 
foreach; it would enable a lot of great idioms. We should pursue that 
instead.

Andrei




More information about the Digitalmars-d mailing list