Finished, dcollections is now fully inout-aware, and passes all unit tests.
One additional somewhat annoying issue I found:
http://d.puremagic.com/issues/show_bug.cgi?id=6809
I had to deal with some interesting issues (not bugs, but design-related),
which I'm going to detail in a newsgroup post.
But one nice thing -- I needed to add 0 overloads to deal with const and
immutable versions of collections. It looks like inout is pretty effective!
In most cases I just had to add the inout decorations.
Here is the related commit:
http://www.dsource.org/projects/dcollections/changeset/114
-Steve
>________________________________
>From: Steve Schveighoffer <[email protected]>
>To: Discuss the internals of DMD <[email protected]>
>Sent: Wednesday, October 12, 2011 3:21 PM
>Subject: Re: [dmd-internals] Time for new release?
>
>
>FWIW, I'm trying to get dcollections compiled with full inout support. I
>think this should be a pretty good test of how usable inout is (it fleshed out
>this bug that Kenji just fixed). Should be done this week.
>
>
>
>-Steve
>
>
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals