Should this work?

marcpmichel marc.p.michel at gmail.com
Fri Jan 10 06:13:36 PST 2014


On Friday, 10 January 2014 at 14:02:21 UTC, Manu wrote:

> I won't start another annoying thread.
>
> What's the go with popFront()... it returns nothing?
> I almost always want to pop and return the front element. I 
> can't find a
> function to do that... have I missed something again?

It seems you have to use both the .front property to access the 
element, and popFront() to advance to the next element.
I can't understand why you need two methods; maybe there's a very 
good reason for that.


More information about the Digitalmars-d mailing list