Remove value after element. Note: element must be not null.
LinkedList!int list; scope(exit) list.free(); auto first = list.insertBack(1); auto second = list.insertBack(2); auto third = list.insertBack(3); list.removeAfter(first); import std.algorithm : equal; assert(equal(list.byElement(), [1,3]));
See Implementation
Remove value after element. Note: element must be not null.