Indicates if an aggregate contains members that might be collected by the garbage collector. This is used in constructors to determine if the content of a manually allocated aggregate must be declared to the GC.
static assert(!mustAddGCRange!int); static assert(mustAddGCRange!(int*)); static assert(mustAddGCRange!(int*[1])); static assert(!mustAddGCRange!(int*[0])); static assert(mustAddGCRange!(int[]));
See Implementation
Indicates if an aggregate contains members that might be collected by the garbage collector. This is used in constructors to determine if the content of a manually allocated aggregate must be declared to the GC.