On Wednesday, 31 August 2016 at 06:20:46 UTC, Jacob Carlborg wrote:
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.

Which is a weird implementation, b/c there is no direct alignment between allMembers and .tupleof.
Why not just use `__traits(getAttributes, var.tupleof[0])`?
Just serializing private state of types seems flawed too.

Reply via email to