On 4/13/13, Tofu Ninja <emmo...@purdue.edu> wrote: > Currently is there a way to get all of the subclasses of a class > at compile time?
There might be things like using .moduleinfo and traversing imports to find all classes, but I think separate compilation makes this unreliable. There is however BaseClassTuple in std.traits, so you can pass a leaf class to get the class hierarchy.