Nordlöw:

How do I make

    foreach (E; EnumMembers!T)

- iterate dynamically instead of statically (no loop unrolling) and
- skip enumerator aliases?

Try:

foreach (immutable e; [EnumMembers!T].sort().uniq)

Bye,
bearophile

Reply via email to