www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Containers for D2

reply Robert Clipsham <robert octarineparrot.com> writes:
Hi all,

Is there a library with some container classes/structs around for D2 
yet? More specifically, I'm looking for a CircularList/Queue 
implementation. I read Andrei was working on something for phobos a 
while back, it doesn't seem to be available yet though.

Thanks,

Robert
Mar 15 2010
parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Mon, 15 Mar 2010 16:33:40 -0400, Robert Clipsham  
<robert octarineparrot.com> wrote:

 Hi all,

 Is there a library with some container classes/structs around for D2  
 yet? More specifically, I'm looking for a CircularList/Queue  
 implementation. I read Andrei was working on something for phobos a  
 while back, it doesn't seem to be available yet though.

Not yet. I am in the process of porting dcollections (www.dsource.org/projects/dcollections), but I don't have an ETA, as I have little free time ATM. Not sure where Andrei is on his lib. I don't have a Queue or CircularList, although my LinkedList implementation is internally a circularly linked list. It would be easy to add such a list. -Steve
Mar 15 2010
parent Robert Clipsham <robert octarineparrot.com> writes:
On 15/03/10 20:38, Steven Schveighoffer wrote:
 Not yet. I am in the process of porting dcollections
 (www.dsource.org/projects/dcollections), but I don't have an ETA, as I
 have little free time ATM. Not sure where Andrei is on his lib.

Thanks, I'll keep an eye on it :)
 I don't have a Queue or CircularList, although my LinkedList
 implementation is internally a circularly linked list. It would be easy
 to add such a list.

I'll see if I can do anything with it, I'm not sure if I'll manage it with the amount of time I've got available to me though.
 -Steve

Thanks for your help :)
Mar 15 2010