dcollections 1.0 and 2.0a beta released

Pelle pelle.mansson at gmail.com
Thu May 20 07:14:48 PDT 2010


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.

You could compare the content separately, but that wouldn't require 
interfaces.


More information about the Digitalmars-d-announce mailing list