December 30, 2012 DList -- removing an element | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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 |
Copyright © 1999-2021 by the D Language Foundation