// a.d class Base { /* whatever magic to get derived classes */ } // b.d import a; class Derived : Base {} void main() {}
to find derived classes at runtime: http://forum.dlang.org/thread/mailman.1052.1292505452.21107.digitalmars-d-le...@puremagic.com#post-op.vns7nfjpvxi10f:40biotronic-pc.lan