DMD 0.166 release
Oskar Linde
olREM at OVEnada.kth.se
Sat Sep 2 02:02:33 PDT 2006
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.
/Oskar
More information about the Digitalmars-d-announce
mailing list