Thread overview
[Issue 12999] SList: linearRemove cannot remove nodes that came from other SLists
Jun 27, 2014
Jonathan M Davis
Jun 27, 2014
safety0ff.bugz
Jun 27, 2014
sigod
Jun 27, 2014
sigod
June 27, 2014
https://issues.dlang.org/show_bug.cgi?id=12999

Jonathan M Davis <jmdavisProg@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jmdavisProg@gmx.com
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> ---
It's intended. What would it even mean for it a container to remove elements which are from another container? The values of the elements are irrelevant. You're asking it to remove those specific elements, so they have to be from the container that you're asking to remove them.

--
June 27, 2014
https://issues.dlang.org/show_bug.cgi?id=12999

--- Comment #2 from safety0ff.bugz <safety0ff.bugz@gmail.com> ---
It's a documentation bug in my opinion, for example insertAfter specifies that the range r must be a previously extracted range.

--
June 27, 2014
https://issues.dlang.org/show_bug.cgi?id=12999

--- Comment #3 from sigod <sigod.mail@gmail.com> ---
(In reply to safety0ff.bugz from comment #2)
> It's a documentation bug in my opinion, for example insertAfter specifies that the range r must be a previously extracted range.

What it should be?

--
June 27, 2014
https://issues.dlang.org/show_bug.cgi?id=12999

sigod <sigod.mail@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sigod.mail@gmail.com

--