Is Anything Holding you back?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 5 06:38:40 PDT 2015


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.


More information about the Digitalmars-d mailing list