Scope storage class [Was: DMD 1.037 and 2.020 releases]

Sergey Gromov snake.scaly at gmail.com
Wed Nov 26 14:29:25 PST 2008


Wed, 26 Nov 2008 20:33:35 +0000 (UTC), Jesse Phillips wrote:

> On Wed, 26 Nov 2008 12:18:27 -0800, Robert Fraser wrote:
>> Try marking all the "lazy" parameters as "scope" ("lazy" creates
>> delegates).
> 
> From change log: "The lazy storage class now implies scope so that lazy 
> arguments won't trigger a heap allocated closure."

Also, the whole point of this test is delegate propagation.  That's what
makes it interesting.


More information about the Digitalmars-d-announce mailing list