Proposal: Enum types as valid With-statement parameters
Deewiant
deewiant.doesnotlike.spam at gmail.com
Sat Jul 22 03:31:09 PDT 2006
Chris Nicholson-Sauls wrote:
> Walter: how difficult would it be to allow named Enum types as valid
> With-statement parameters? When named Enums are used in tandem with
> constructs such as Switch, this could save quite a lot of typing, and is
> still perfectly clear when reading code.
>
I asked for this myself a while back:
http://www.digitalmars.com/d/archives/digitalmars/D/37925.html
It would indeed be a handy feature.
More information about the Digitalmars-d
mailing list