DynamicLib.associated

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

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

Examples

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

Meta