Polymorphic

A wrapper that acts like a subclass of Interface, dispatching at runtime to different instances of different types.

Constructors

this
this(Instance instance)
Undocumented in source.
this
this(const(Polymorphic) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Manifest constants

instanceAllocatorHasState
enum instanceAllocatorHasState;
Undocumented in source.

Static functions

memberFunctionMixin
string memberFunctionMixin()
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

create
template create(Modules...)

This factory function makes it possible to pass in modules to look for UFCS functions for the instance.

create
template create(T, Modules...)

This factory function makes it possible to forward arguments to the T's constructor instead of taking one by value and to pass in modules to look for UFCS functions for the instance.

Meta