Should this work?

Jacob Carlborg doob at me.com
Fri Jan 10 06:30:04 PST 2014


On 2014-01-10 15:13, marcpmichel wrote:

> 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.

For optimization reasons. You don't always need both "popFront" and 
"front".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list