How to iterate through all modules for use with the new getUnitTests trait?

Dicebot public at dicebot.lv
Wed Nov 6 13:26:07 PST 2013


On Wednesday, 6 November 2013 at 21:07:47 UTC, Gary Willoughby 
wrote:
> Unfortunately this still suffers the same problem in that you 
> need a module symbol name to do anything. I need to get all 
> module symbols at compile time.

You need only symbol name of your root compiled module which 
imports all others. All imported ones will be available in its 
member list, exactly what this snippet shows.


More information about the Digitalmars-d-learn mailing list