IAllocator.recycle

Recycles or deletes an object that is no longer used.

Note: Strictly specking old should be a ref to satisfy D's delete expression which wants the pointer as an lvalue in order to set it to null after deletion. However, would make code more complex and isn't actually necessary in the particular use case of this interface (see BucketSet.remove()/clear()).

class IAllocator
void
recycle
(
void* old
)

Parameters

old void*

old object

Meta