iterate over enum name:value pairs
bearophile
bearophileHUGS at lycos.com
Sun Dec 8 15:19:53 PST 2013
> foreach (immutable member; suits)
Sometimes you have to use:
foreach (const member; suits)
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list