WeakReferenceArray.buff

Return array internal buffer which can be safely used while the array behaves as a hard reference.

The array contains aliveCount non-null references. Use removeDead before retrieveing the array to get array of only alive objects.

Note: Retrieved buffer may become invalid after addition of an object into the array if capacity == count or after reserve or removeDead call.

Preconditions: hard

class WeakReferenceArray(T)
@property inout pure nothrow @nogc
inout(T)[]
buff
()

Meta