static foreach considered
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 8 18:25:37 PDT 2015
On Monday, 8 June 2015 at 20:02:11 UTC, Andrei Alexandrescu wrote:
> Walter and I are looking at ways to implement it. Here's a
> baseline without static foreach - a "trace" function that
> prints function calls before they are made:
>
> http://dpaste.dzfl.pl/762c83c7fe30
>
> If the function is overloaded, that won't work. In such cases,
> static foreach might be helpful. Here's code from the cycle "I
> have a dream":
>
> http://dpaste.dzfl.pl/82a70c809210
>
> I'm trying to collect together motivating examples and to
> figure out the semantics of the feature.
>
>
> Andrei
There was also http://wiki.dlang.org/DIP57 and relevant
discussion thread
More information about the Digitalmars-d
mailing list