DList.this

Creates a new $(D_PSYMBOL DList) with the elements from a static array.

Parameters

R

Static array size.

init T[R]

Values to initialize the list with.

allocator Allocator

Allocator.

Examples

auto l = DList!int([5, 8, 15]);
assert(l.front == 5);

Meta