Array.opAssign

Assigns a static array.

Parameters

R

Static array size.

that T[R]

Values to initialize the array with.

Return Value

Type: typeof(this)

$(D_KEYWORD this).

Examples

auto v1 = Array!int([5, 15, 8]);
Array!int v2;

v2 = [5, 15, 8];
assert(v1 == v2);

Meta