Usability of "allMembers and derivedMembers traits now only return visible symbols"

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 31 06:29:52 PDT 2016


On Wednesday, 31 August 2016 at 13:12:30 UTC, Adam D. Ruppe wrote:
> Ugh, it really should just give everything and have getMember 
> bypass it. That won't even break any code!

you're right. "allMembers" means "all" after all. Another reason 
why the idea of "allVisibleMembers" is good. Puristes will be 
able to use this traits without messing with "getProtection".


More information about the Digitalmars-d mailing list