So how do I find and remove an element from DList?

Ogi at
Fri Jul 10 19:08:45 UTC 2020

auto list = DList!int([1, 2, 3, 4]);

> Error: function 
> std.container.dlist.DList!int.DList.remove(Range r) is not 
> callable using argument types (Take!(Range))

It works if I replace `remove` with `linearRemove`, but that 
defeats the whole purpose of using a doubly linked list.

More information about the Digitalmars-d-learn mailing list