List of derived types?

Pelle Månsson pelle.mansson at gmail.com
Thu Dec 16 05:51:25 PST 2010


On 12/16/2010 02:16 PM, d coder wrote:
> Greetings
>
> I need a way to know (using traits or other compile time constructs)
> all the types derived from a given type.
> Is it possible in D?
>
> Is it possible to get a list of all the user-defined classes? I could
> use that to filter out the classes that I need.
>
> Regards
> Cherry

I'm curious, why do you need that?


More information about the Digitalmars-d-learn mailing list