dcollections 1.0 and 2.0a beta released
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri May 21 11:05:25 PDT 2010
On 05/20/2010 09:14 AM, Pelle wrote:
> On 05/20/2010 03:22 PM, Steven Schveighoffer wrote:
>> One thing I just thought of -- in dcollections, similar types can be
>> compared to one another. For example, you can check to see if a
>> HashSet is equal to a TreeSet. But that would not be possible without
>> interfaces.
>>
>> -Steve
>
> I'm sorry, but I think that's a misfeature. In my opinion, a tree is not
> equal to a hash table, ever.
Yes. By the way, TDPL's dogma imposes that a == b for classes means they
have the same dynamic type.
Andrei
More information about the Digitalmars-d-announce
mailing list