SList.this

Creates a new $(D_PSYMBOL SList).

Parameters

allocator Allocator

Allocator.

Examples

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

Meta