dcollections version 0.02

Steven Schveighoffer schveiguy at yahoo.com
Tue Aug 5 10:07:25 PDT 2008


"dsimcha" wrote
> == Quote from Steven Schveighoffer article
>> On a side note, have you used dcollections with D2?  I haven't tested it.
>> And it's not const-ified.
>> -Steve
>
> Actually, yes, I thought that was part of the point of the release was D2 
> support.
> I've tried it very little, but it at least compiles seems to work.  One 
> small
> hitch:  You have to do a find/replace, find all instances of "int 
> opEquals" and
> replace with "bool opEquals".  This can be done perfectly as an automated 
> search.

Yeah, it should work (with the opEquals change) as long as you don't need a 
const container to work :)

Good to know that it builds at least.  The only thing is that just because 
the library 'builds' doesn't mean it all works :)  The classes/structs are 
all templates and so won't really 'compile' until you use them.

But if you could just build the examples, and let me know if they work, I'd 
appreciate it!

And BTW, the point of the release was to add the library building scripts, 
and fix some bugs (as discussed in the start of this thread).

> Anyhow, D2 support is the reason I'm not using Tango.

I'm on the opposite side, not using D2 because Tango can't build with it 
(yet) :)  As soon as Tango builds with D2, I'll be switching over.  And then 
I'll probably migrate dcollections to D2.

-Steve 




More information about the Digitalmars-d-announce mailing list