On 2020-05-12 06:02, Steven Schveighoffer wrote:

If you want a list of ALL symbols that have the UDA in the application, that would require some form of runtime reflection (like Java). D has very limited support for runtime reflection. In D, you would use some form of registration to tell the system about your symbols.

I think it's possible to implement the `RTInfo` template in `object.d`. But that requires a custom druntime.

`RTInfo` is a template that is instantiated once for each type in the program.

--
/Jacob Carlborg

Reply via email to