queue container?

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Wed Oct 26 07:13:06 PDT 2011


It should have both shared and unshared implementations of methods to
be a full-fledged container.
Also, this kind of things are too commonly used to be outside Phobos.

On Wed, Oct 26, 2011 at 5:55 PM, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> On Wed, 26 Oct 2011 03:18:27 -0400, Gor Gyolchanyan
> <gor.f.gyolchanyan at gmail.com> wrote:
>
>> The best implementation of queue IMO is using a doubly-linked list,
>> which is missing from Phobos.
>> I wanted ti implement a thread-safe queue too, but i failed due to the
>> lack of appropriate lists.
>
> www.dsource.org/projects/dcollections
>
> Has both a doubly-linked list and deque implementation.
>
> Not thread-safe however...
>
> -Steve
>


More information about the Digitalmars-d mailing list