let (x,y) = ...
visitor via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Nov 23 07:52:05 PST 2015
On Monday, 23 November 2015 at 14:54:15 UTC, thedeemon wrote:
> Yep, this way it works too, by capturing input vars in a
> closure. So the main difference is that your variant allocates
> GC memory while original variant does not allocate anything in
> the heap (only on stack).
Thanks for clarifying :-)
hope this will end into the language ! great work.
More information about the Digitalmars-d-announce
mailing list