www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is there a way to get a compile-time list of all user classes?

reply Max <mr.pretender gmail.com> writes:
Hello,

I would like to get as a result a list of all classes that 
implement a specific user interface. Is there a way to do this?
Jan 12
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Thursday, 12 January 2017 at 20:58:33 UTC, Max wrote:
 I would like to get as a result a list of all classes that 
 implement a specific user interface. Is there a way to do this?
Not at compile time, it is possible there are child classes in separately compiled modules or libraries (or even runtime plugins).
Jan 12