Further, will they return the fields/field names in the same order? That is, will `fields[0]` be the type of `field_names[0]`?
std.traits.Fields(T), FieldNameTuple(T) - order guaranteed?
Liam McSherry via Digitalmars-d Wed, 27 Jul 2016 06:12:11 -0700
Since it isn't mentioned in the documentation, do
`std.traits.Fields(T)` and `std.traits.FieldNameTuple(T)` return
the fields and field names in a deterministic order?
- std.traits.Fields(T), FieldNameTuple(T)... Liam McSherry via Digitalmars-d
- Re: std.traits.Fields(T), FieldNam... Meta via Digitalmars-d
- Re: std.traits.Fields(T), FieldNam... Jonathan M Davis via Digitalmars-d
