FIFO stack

Dejan Lekic dejan.lekic at gmail.com
Fri Nov 4 07:33:39 PDT 2011


Dominic Jones wrote:

> Hello,
> 
> I was looking for a FIFO stack in std.containers but only found SList
> and Array which both appear to essentially operate as LIFO stacks. Is
> there any standard container with which I can push items on to a list,
> then later pop them off from the bottom of that list? If so, then how?
> 
> Thank you,
> Dominic Jones

The Array can be used as both LIFO and FIFO structure.


More information about the Digitalmars-d-learn mailing list