reinitArray

Reinitialises a GC allocated array of struct. Useful if the struct release resource in its destructor.

  1. void reinitArray(T[] arr)
    void
    reinitArray
    (
    T
    )
    (
    ref T[] arr
    )
    if (
    is(T == struct)
    )
  2. void reinitArray(T[K] arr)

Meta