Function reinitArr

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

void reinitArr(T) (
  ref T[] arr
)
if (is(T == struct));