enum-indexed arrays

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 20 15:00:23 PDT 2014


Nordlöw:

> should be
>
>     Enumerator start = Enumerator.min

This also requires the enum to have adjacent values (in general 
enums can skip values).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list