DList -- removing an element

d coder dlang.coder at gmail.com
Sun Dec 30 02:29:01 PST 2012


Greetings

I have created a DList of class objects. Now I want to delete a particular
object from the list. I do not see a straightforward way of doing that. The
only way I found was to create a DList range, take out all other elements
from the range using popFront and popBack and then apply remove(Range).

Am I missing something?

Regards
- Puneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121230/50af7e36/attachment.html>


More information about the Digitalmars-d mailing list