[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC, problem with g++4

* Antti-Juhani Kaijanaho:

> That is not a new trick, I'm fairly sure that was legal when I first
> learned of the enum idiom.

It's illegal according to The C++ Programming Language, Second Edition
(which was published in 1991).  I didn't claim the trick was new. 8-)

> The problem is, your trick doesn't work outside templates,


Reply to: