DMD 1.031 and 2.015 releases

Robert Fraser fraserofthenight at gmail.com
Wed Jun 18 02:42:04 PDT 2008


Walter Bright wrote:
> Some new stuff to make writing templates easier.
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.031.zip
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.015.zip

Awesome; thanks!

Out of curiosity, why doesn't return type deduction work for all 
functions (is this panned?). It seems to be possible to do:

auto foo()()
{
     return 10;
}

but not:

auto foo()
{
     return 10;
}

Allowing the latter would open up return type deduction for class member 
functions.


More information about the Digitalmars-d-announce mailing list