DMD 1.031 and 2.015 releases

BCS ao at pathlink.com
Wed Jun 18 09:38:51 PDT 2008


Reply to Walter,

> 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

template alias args using local names. Sweet! The docs mention this but don't 
have an example.

----

auto return type: Will this work?

class A {}
class B {}

auto Fn()(bool a)
{
  if(false) return new Object();

  if(a) return new A();
  else return new B();
}

----

Template Constraints! (/me drooling)

----

Issue 2112: the type of undefined variable incorrectly assumed to be int
What was this ix here? did a real error type get implmeneted or was it just 
this bug getting fixed?




More information about the Digitalmars-d-announce mailing list