DList.opAssign

Assigns an input range.

Parameters

R

Type of the initial range.

that R

Values to initialize the list with.

Return Value

Type: typeof(this)

$(D_KEYWORD this).

Examples

auto l1 = DList!int([5, 4, 9]);
auto l2 = DList!int([9, 4]);
l1 = l2[];
assert(l1 == l2);

Meta