dmd 1.057 and 2.041 release

bearophile bearophileHUGS at lycos.com
Mon Mar 8 06:04:54 PST 2010


Walter Bright Wrote:
> Lots of meat and potatoes here, and a cookie! (spelling checker for 
> error messages)

Thank you for the cookie too :-)
I will need some more time to try all the new things.

In the meantime I have already two small questions:

1) What does "Implemented attributes for constructors" in the changelog means?

2) What's the best way to translate this to the new operator regime?

T foo(T)(T s) if (__traits(hasMember, T, "opAdd")) {
    return s + s;
}


I will probably write something more later,
bye and thank you,
bearophile


More information about the Digitalmars-d-announce mailing list