Yeah, that works.
Just add new items to tail, and then retrieve (and remove) from head.
-Tony


On Wed, Jul 28, 2010 at 6:30 PM, Janek <[email protected]> wrote:

> You can use a CUtlVector and use standard function like addtotail...
>
> J.
>
> 2010/7/28 Eddie Cameron <[email protected]>
>
> > Hi guys,
> >
> > I need to use a simple FIFO queue in my mod, but am stuck as to how this
> is
> > used in the SDK. I can only find a priority queue(from CUtl), which I
> can't
> > get to work properly.
> > Is there any standard queue in the SDK? Or is there a way to make the
> > priority queue act like a normal queue?
> > My C++ is a bit rusty so I'm probably missing something obvious.
> >
> > Thanks for the help!
> > Eddie
> > grapefruitgames.com
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
-Tony
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to