Array.opAssign

Assigning null empties the Array variable, but unlike clear, does not destroy the original memory unless it was the only remaining reference.

Equivalent to assigning empty_array.

  1. Array opAssign(Array other)
  2. Array opAssign(typeof(null) n)
    struct Array
    @nogc nothrow
    opAssign
    (
    in typeof(null) n
    )

Meta