What is the use case for this weird switch mecanism
bearophile
bearophileHUGS at lycos.com
Wed Oct 31 15:01:35 PDT 2012
Chris Nicholson-Sauls:
> There is also the trick of doing 'switch(val) with(EnumType)
> {...}'
What about writing with(EnumType) switch(val) {...} ?
Bye,
bearophile
More information about the Digitalmars-d
mailing list