DList seems to have an issue with remove:
void main()
{
import std.container, std.range, std.algorithm;
auto list = DList!int([1, 2, 4, 6]);
auto res = find(list[], 2);
list.remove(res); //ok
/*
list.remove(res.takeOne);
Error: function std.container.dlist.DList!int.DList.remove (Range
r) is not callable using argument types (Result)
list.remove(res.take(1));
Error: function std.container.dlist.DList!int.DList.remove (Range
r) is not callable using argument types (Take!(Range))
*/
}
Are there any known workarounds besides linearRemove?