Can you do this in D?
captaindet
2krnk at gmx.net
Sun Jul 29 22:11:20 PDT 2012
> What happened to __traits(allMembers, module_name)? It doesn't list
> the contents of the current scope, but instead that of a module
> (including the current one).
that could have saved me too ... now i tried getting it working, but to no avail. i mean, __traits(allMembers, X) works for class X fine, but fails on modules. using dmd 2.059 for win and some 2.060-ish phobos from some weeks ago.
could anyone provide a working code example pls?
cheers,
det
More information about the Digitalmars-d
mailing list