Serializer.resetArrayReferences

Resets all dynamic arrays in all elements of array to null.

struct Serializer
static
T[]
resetArrayReferences
(
T
)
(
T[] array
)
out (arr) { debug(SerializationTrace) { Stdout.formatln("< resetArrayReferences!({})({}) : {}", T.stringof, array.ptr, arr.ptr); } }

Parameters

array T[]

all dynamic arrays in all elements of this array will be reset to to null.

Return Value

Type: T[]

array

Meta