Beta D 2.071.2-b3

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Aug 30 23:20:46 PDT 2016


On 2016-08-31 01:08, Martin Nowak wrote:

> Well there was reasoning to choose that solution instead of the other
> (https://github.com/dlang/dmd/pull/6078) and the fact that private
> members aren't accessible (set/get) is a good indication that nobody
> needs this.

Class/struct fields are accessible using .tupleof. I was using 
__traits(getAttributes) in my serialization library to get UDA's for 
these fields, including private ones.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list