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

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 4 04:46:00 PDT 2016


On 2016-09-04 09:39, Johannes Pfau wrote:

> Allowing access to private fields / functions also means that
> those members are part of the public API/ABI of a library. So changing
> private members can break dependent libraries...

They've always been accessible using .tupleof and taking the address of 
a member, before the recent lookup rule changes.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list