Nick Sabalausky:

> > If you don't want that doplication you can also write:
> > enum auto f = Foo();
> 
> Can't you do:
> enum f = Foo();
> ?

In my opinion that's a semantic mess, I don't write that. auto is for automatic 
local type inference and enum is to ask for a compile time constant.

Bye,
bearophile

Reply via email to