New linked list

Sean Kelly sean at f4.ca
Thu May 11 09:43:03 PDT 2006


Chris Miller wrote:
> A new linked list module has been released at 
> http://www.dprogramming.com/list.php
> You may be wondering why another linked list; check out the FAQ to see!

Very cool.  One thing... does this work:

     foreach( Person p; per.each )
     {
         if( p.age > 50 )
             p.listRemove();
     }

ie. can you remove elements within a foreach?


Sean



More information about the Digitalmars-d-announce mailing list