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

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


On Wednesday, 31 August 2016 at 08:36:37 UTC, Ethan Watson wrote:
> On Tuesday, 30 August 2016 at 22:24:12 UTC, Ali Çehreli wrote:
>> I don't agree with the current solution:
>
> I'm somewhat surprised myself that "allMembers doesn't return 
> all members" needs highlighting.
>
> Why not have a new trait "allVisibleMembers" and just fix the 
> privacy issues?

nice idea, but this doesn't change the fact that the traits that 
access the results of the "omniscient" allMember must be tweaked 
to access everything.


More information about the Digitalmars-d mailing list