ISharedAllocator.decRef

Decreases the reference count of the concrete class that implements this interface. When the reference count is 0, the object self-destructs.

For stateless allocators, this does nothing.

interface ISharedAllocator
nothrow @safe @nogc pure shared
bool
decRef
()

Return Value

Type: bool

true if the reference count is greater than 0 and false when it hits 0. For stateless allocators, it always returns true.

Meta