www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9362] New: Add a method to remove one item to std.container.SList

http://d.puremagic.com/issues/show_bug.cgi?id=9362

           Summary: Add a method to remove one item to std.container.SList
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs eml.cc 2013-01-20 15:02:18 PST ---
I suggest to to std.container.SList a handy function to remove a single item
from the list.

Most times I don't want to remove more than one item (so far in my D code I
don't remember ever having to remove more than one item at once from a SList).

In D.learn newsgroup I have seen many persons troubled by SList.linearRemove.

If SList gets such helper method to remove one item, then probably
std.container.DList should have a similar method.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 20 2013