Heap.associated

Returns whether this is associated with a heap handle. It is asserted that no member functions are called for an unassociated Heap struct.

struct Heap
@property const @safe pure nothrow @nogc
bool
associated
()

Examples

assert(processHeap.associated);
assert(!Heap.init.associated);
auto h = Heap.init.handle; // assertion failure

Meta