On Fri, Aug 09, 2013 at 01:19:44AM +0200, bearophile wrote: > Ali Çehreli: > > >More than that. :) enums are manifest constants. > > > >Imagine that enum as being pasted into source code as is. This > >used to have surprising effects for AAs, as an enum AA would be > >instantiated from scratch everywhere that AA enum was used in the > >code. > > I think that some time ago Don has proposed to disallow the 'enum' > tag for things like AAs, on the base that such behavour is not > efficient, surprising, and maybe even not useful... I don't know > where his proposal has gone later. [...]
I think we should disallow it. It's surprising behaviour for someone who doesn't know how it's implemented. T -- It always amuses me that Windows has a Safe Mode during bootup. Does that mean that Windows is normally unsafe?
