I thought something like this might work:
auto list = DList!int([1,2,3,4]); auto r = list[]; while(r.front != 3) r.popFront; list.remove(r.take(1));But the the range returned by r.take(1) is not valid as an argument to DList.remove. What is the correct way to do this?