On Wednesday, 26 March 2014 at 22:14:44 UTC, Timon Gehr wrote:
On 03/26/2014 01:33 PM, bearophile wrote:
Timon Geh:

http://wiki.dlang.org/DIP57/

Thoughts?

Is it good to support this syntax too?

static foreach (enum i; 0 .. 10) {}

Bye,
bearophile

Yes, I think so.

I'll try to finish the DIP this weekend.

template DIP(Args...)
{
  static foreach(alias a ; Args)
  {
  }
}

Would supporting 'alias' conflate too much into one DIP?

Reply via email to