DMD 0.166 release

Walter Bright newshound at digitalmars.com
Sat Sep 2 12:23:32 PDT 2006


Oskar Linde wrote:
> Walter Bright wrote:
> 
>> Derek Parnell wrote:
>>> Damn! I didn't know that. What's the rationale for such a seemingly
>>> arbitrary restriction?
>> No virtual functions for structs!
> 
> If one considered toString() important enough it could be added to the
> TypeInfo for structs, just like toHash, opEquals and opCmp are today. It
> would make certain sense to support all the methods of Object in this way.

That makes sense.



More information about the Digitalmars-d-announce mailing list