DList.this

Creates a new $(D_PSYMBOL DList).

Parameters

allocator Allocator

Allocator.

Examples

auto l = DList!int(2, 3);
assert(l.front == 3);
assert(l.back == 3);
auto l = DList!int(2);
assert(l.front == 0);

Meta