Getting derived classes

dsimcha dsimcha at yahoo.com
Thu Oct 16 19:05:45 PDT 2008


I know that, in std.traits, there's a template that spits out all base classes
for a given class.  Based on reading the source, it seems to work based on a
rather interesting use case for is expressions.  Is there any equivalent way
to do the opposite:  For any given position in a class hierarchy, to get a
tuple of all possible descendants?



More information about the Digitalmars-d mailing list