enum values without initializer

Nick Sabalausky a at a.a
Sat Apr 3 21:46:45 PDT 2010


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:hp8jra$1ln5$1 at digitalmars.com...
>
> If you don't want that doplication you can also write:
> enum auto f = Foo();
>

Can't you do:

enum f = Foo();

?





More information about the Digitalmars-d-learn mailing list