Containers I'd like to see in std.containers

Rainer Deyke rainerd at eldwood.com
Sun May 30 15:23:15 PDT 2010


On 5/30/2010 15:53, Philippe Sigaud wrote:
> There are some simple containers I'd like to see in std.containers:
> 
> - a priority queue
> - a heap
> - a stack, a queue
> - a set

Any container that supports pushing and popping on one end can be used
as a stack.  Any container that supports pushing on one end and popping
on the other can be used as a queue.  I don't think either of these need
their own container type.

The others, sure.


-- 
Rainer Deyke - rainerd at eldwood.com


More information about the Digitalmars-d mailing list