Can you do this in D?

captaindet 2krnk at gmx.net
Mon Jul 30 21:58:11 PDT 2012


On 2012-07-30 00:11, captaindet wrote:
>> 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

my bad, figured it out


More information about the Digitalmars-d mailing list