How I can iterate data in structure

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 22 01:44:50 PDT 2014


>foreach (field; result.tupleof)

Why I should here specify type of iterable element, but not first 
element that I use for iteration?

I mean:
foreach (_some_type_possible_enum_ field; result)

?


More information about the Digitalmars-d-learn mailing list