Walter Bright wrote:
Probably the biggest thing is opDispatch!
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.053.zip
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.037.zip
Many thanks to the numerous people who contributed to this update.
I love opDispatch ;)
[CODE]
struct Foo
{
public void opDispatch(string s) (int _v)
{
writefln("Foo.'%s' (%s)",s,_v);
return;
}
}
void main()
{
Foo f;
f.fuckya(2);
f.thisisaterriblelongmethodnamethatisnotevenimplementedexplicitlyinsideofmyclassFoo(2);
}
[/CODE]
I cannot wait to use it in my lua bindings, this is a great feature.