How to detect/filter modules in __traits(allMembers)?

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 11 13:30:47 PDT 2016


On Saturday, 11 June 2016 at 19:45:56 UTC, Random D user wrote:
> Any good ideas how to do that?
>
> I couldn't figure it out in a short amount of time, but I 
> expect that it's possible. I'm probably missing something 
> obvious here. Probably because D's reflection/meta programming 
> facilities are a bit all over the place (and unnecessarily 
> convoluted IMO).
> Also I'm not super familiar with every compile-time feature, 
> which is why I want to learn and some meta functions/templates 
> myself.
>
> [...]

It will compile if you define the option informational warnings 
(-wi).


More information about the Digitalmars-d-learn mailing list