Get vars in current scope at compile time?

Tofu Ninja via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 19 13:09:04 PST 2014


Is there some way to get a list of the variables that are in the 
current scope via traits? Some things like allMembers?

I would like to be able to call this from a mixin to grab the 
locals in the scope that the mixin is being dropped into.


More information about the Digitalmars-d-learn mailing list