Linked List Iterator (foreach)

Mason Green mason.green at gmail.com
Tue Aug 19 18:12:54 PDT 2008


Steven Schveighoffer Wrote:

> I don't know if you realize, but there are several Link List implementations 
> that you can use.
> 
> But I'm assuming you're just playing around, so here's how you do foreach 
> (in your LinkList class):
> 

Thanks a lot Steve! Short and sweet.  Yes, I am playing around, although I plan on using my link list in a Tango/Phobos independent library I'm working on. 

-Mason


More information about the Digitalmars-d-learn mailing list