A Perspective on D from game industry
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 17 07:31:45 PDT 2014
On Tuesday, 17 June 2014 at 14:00:44 UTC, John Colvin wrote:
> I though the primary use of static foreach was to force the
> compiler to attempt compile-time iteration even for
> non-TemplateArgList arguments like arrays known at compile-time
If static foreach acts as code generator there is no practical
difference. Also I don't believe compile-time iteration use case
is even remotely as common as declaration injection.
More information about the Digitalmars-d
mailing list