D1 and D2 differences

Jacob Carlborg doob at me.com
Tue Apr 19 23:57:59 PDT 2011


On 2011-04-20 08:19, Mike Linford wrote:
> How up to date is http://digitalmars.com/d/2.0/features2.html ? If it's old, what differences can people think of off the tops of their heads that are not listed?

There's a lot of missing on the page.

* opDispatch
* alias this
* constructors/destructors for structs
* shared
* globals are thread local
* final switch
* auto return
* inout
* auto ref
* template constraints
* new operator overloading "API" or what to call it
* ranges

These are just some of the new/changed features in the language. Then, 
in addition to that, there's also all the changes and new features to 
the standard library.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list