Introspecting a Module with Traits, allMembers

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 10 05:56:00 PDT 2014


The others have already given some answers, I just want to point 
out that the (free) sample chapter of my D book covers this topic 
too: 
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book

Scanning a whole module and getting everything out takes a few 
tricks that I talk about in there.


More information about the Digitalmars-d-learn mailing list