D as a Better C
Kagamin via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Aug 24 05:58:51 PDT 2017
On Wednesday, 23 August 2017 at 17:43:27 UTC, Steven
Schveighoffer wrote:
> I thought "closure" means allocating the stack onto the heap so
> you can return the delegate with its context intact.
I understood closure as capture of variables from external
context. They are divided into upward closures and downward
closures, the former needs heap allocation.
More information about the Digitalmars-d-announce
mailing list