On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote:
Say a want to have a central place to lookup all classes with the Foo() attribute on it.
You can also use the RTInfo hook in druntime's object.d to build that stuff in a central location.
Of course, since that's a centralized file, it can at best be changed on a per-project basis...
There's also only RTInfo for types, not functions and variables, but still, it'd work for the case of building a list of classes.
