tardy.poly

Undocumented in source.

Members

Aliases

DefaultAllocator
alias DefaultAllocator = from!"tardy.allocators".GC
Undocumented in source.

Structs

Polymorphic
struct Polymorphic(Interface, InstanceAllocator = DefaultAllocator)

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

VirtualTable
struct VirtualTable(Interface, InstanceAllocator)

A virtual table for Interface.

Templates

canSafelyFree
template canSafelyFree(InstanceAllocator)
Undocumented in source.
vtable
template vtable(Interface, Instance, InstanceAllocator, Modules...)

Creates a virtual table for the given Instance that implements the given Interface.

Meta