fieldNameA: fieldValueA fieldNameB: fieldValueB ... propertyNameA: propertyValueA ...
I really appreciate traits and what they are introducing into the
process. I'm curious how I can iterate over all fields of the
structure (s.tupleof pretty much works for that) and properties
while ignoring methods and sub data types that defined inside of
structure (they defined only as type, not the field but of course
they got into __traits(allMembers, S)). The idea is to use
foreach to easily print into console something like:
- Iteration over structure fields and prope... Void-995 via Digitalmars-d
- Re: Iteration over structure fields ... Jacob Carlborg via Digitalmars-d
- Re: Iteration over structure fie... Void-995 via Digitalmars-d
- Re: Iteration over structure... Jacob Carlborg via Digitalmars-d
