dmd 1.069 and 2.054 release

dsimcha dsimcha at yahoo.com
Mon Jul 11 07:04:46 PDT 2011


== Quote from Walter Bright (newshound2 at digitalmars.com)'s article
> Continuing the trend, more people contributed to this release than any other!
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.069.zip
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.054.zip

Great release!  I noticed that auto ref function parameters are now implemented,
but only for template functions.  Is there a reason for this limitation?  Example:

Works:

void foo()(auto ref int num) {
    num++;
}

Doesn't:

void foo(auto ref int num) {
    num++;
}


More information about the Digitalmars-d-announce mailing list