Get vars in current scope at compile time?
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Dec 19 20:16:35 PST 2014
On 20/12/2014 10:09 a.m., Tofu Ninja wrote:
> 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.
No way to do this.
More information about the Digitalmars-d-learn
mailing list