LinkedList.opCatAssign

Undocumented in source. Be warned that the author may not have intended to support it.
struct LinkedList(T, bool ordered = true)
opCatAssign
(
T v
)

Examples

LinkedList!int list;
scope(exit) list.free();

auto element = list.append(13);
assert(element.datum == 13);
assert(list.length == 1);
element = list.append(42);
assert(element.datum == 42);
assert(list.length == 2);

Meta