SList.this

Creates a new $(D_PSYMBOL SList) 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 = SList!int([5, 8, 15]);
assert(l.front == 5);

Meta