The OpenD Programming Language

IAllocator.decRef

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

interface IAllocator
nothrow @safe @nogc pure
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