On Saturday, December 22, 2012 14:26:23 Jonathan M Davis wrote: > Best case, if each class > registered its existance when it was loaded into the environment (e.g with > a static constructor), then you could get a list of the classes which are > currently loaded, but that's not at all what you're asking for here, and > you'd have to create such a registration mechanism yourself, because no > such thing is provided by the runtime.
It looks like the runtime _does_ give you this capability (as Adam explains in his reponse), so I stand corrected on that point. But a compile time solution is still impossible due to D's compilation model. - Jonathan M Davis
