GCTrackingPolicy.refTypesOnly

Checks T parameter and decides accordingly whether T items allocated by the LinkedListQueue will be added to the GC scan range.

Allocated T elements will be added to the GC scan range only if T is (or contains) reference types (e.g a class, an array or a pointer). Otherwise allocated T elements won't be added to the GC scan range.

Template params: T = the type to be used

struct GCTrackingPolicy
static
bool
refTypesOnly
(
T
)
()

Return Value

Type: bool

true T contains reference items, returns false otherwise.

Meta