dcollections version 0.02

Steven Schveighoffer schveiguy at yahoo.com
Tue Aug 5 13:32:25 PDT 2008


"dsimcha" wrote
>> But if you could just build the examples, and let me know if they work, 
>> I'd
>> appreciate it!
>
> Actually, they all work with only very minor tweaks to the test files and 
> no
> tweaks to the library files except the int opEquals/bool opEquals I 
> mentioned
> previously.  The tweaks are little things like:

Cool thanks!

>
> 1.  Use writefln instead of Stdout, since I can't use Tango w/ D2 yet.

Right, I forgot about that...

>
> 2.  Explicitly cast some classes to their base class before passing to 
> template
> functions b/c apparently (IDK why) D2 template instantiation has some 
> quirks when
> used w/ inheritance that D1 doesn't have.

That's odd... There probably should be a bug filed on that.  I'll 
investigate further.

>
> I've attached the slightly tweaked test files.  I did all the tweaks quick 
> and
> dirty b/c I didn't want to waste too much time, for example, formatting 
> the
> printing, but you can diff them against the origninals and see that almost 
> nothing
> has changed.

Yes, looks good, thanks again!

-Steve 




More information about the Digitalmars-d-announce mailing list