BLS wrote:
On 14/11/2009 20:58, Steven Schveighoffer wrote:
collections will be D2 eventually. It already supports D1 via Tango or
Phobos. I want to make it aware of D2-like features (const, ranges,
etc), so it's not just a simple port.
http://www.dsource.org/projects/dcollections
I think is very well done and hope for a D2 port.
Just two notes :
1) I think the Collection Interface should contain removeAll()/wipeOut()
Yes; I also forgot to add it to the minimal interface. I suggest we use
clear() throughout for all objects (i.e. delete's replacement).
Andrei