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

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 1 12:30:41 PDT 2016


On Wednesday, 31 August 2016 at 13:29:52 UTC, Basile B. wrote:
> 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".

https://github.com/dlang/DIPs/pull/39

Co-authors welcome.


More information about the Digitalmars-d mailing list