On Tuesday, 2 October 2018 at 03:30:50 UTC, Jonathan wrote:
I can use `std.traits.getSymbolsByUDA` to get all the members
of a class that have a particular UDA
`getSymbolsByUDA(ValueType, UDA)`.
But how do I get the values with it?
Is there a more convenient way than `__traits(getMember, valu
I can use `std.traits.getSymbolsByUDA` to get all the members of
a class that have a particular UDA `getSymbolsByUDA(ValueType,
UDA)`.
But how do I get the values with it?
Is there a more convenient way than `__traits(getMember, value,
getSymbolsByUDA(ValueType, UDA)[0].stringof)`?