DMD 1.037 and 2.020 releases

Lars Ivar Igesund larsivar at igesund.net
Wed Nov 26 01:57:14 PST 2008


Walter Bright wrote:

> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.021.zip

It is nice that there is now a way to have non-heap-allocating delegates, but it is bad that it is a breaking change (in terms of D1 vs D2).

But how does it work? If I have 

foo(scope void delegate()) { }

will then

foo({ ... });

not allocate?

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango


More information about the Digitalmars-d-announce mailing list