Removing from SList (std.container)...
Steven Schveighoffer
schveiguy at yahoo.com
Wed Jun 27 05:25:04 PDT 2012
On Wed, 27 Jun 2012 05:37:00 -0400, Minas Mina
<minas_mina1990 at hotmail.co.uk> wrote:
> How can I do that?
>
> Why not list.remove(x); like in STL?
SList is quite unusable.
If you are looking for STL-like containers, there is dcollections which
has a doubly-linked list, and supports syntax like you want.
http://www.dsource.org/projects/dcollections
-Steve
More information about the Digitalmars-d-learn
mailing list