
6 Mar
2009
6 Mar
'09
6:37 a.m.
----- Original Message ----- From: "Felipe Magno de Almeida" <felipe.m.almeida@gmail.com> To: <boost@lists.boost.org> Sent: Friday, March 06, 2009 1:42 AM Subject: Re: [boost] [C++0x] Emulation of scoped enums
On Thu, Mar 5, 2009 at 9:26 PM, Matt Calabrese <rivorus@gmail.com> wrote:
While I agree that the current interface is kind of ugly, I still think it's the best option available.
I don't really mind the current interface. What I find uglier is using a macro to use the enum type.
I don't think there is a better solution. You need to mask the fact that a enum type in C++0x is name scope and a type and can not be in C++03. The initial proposal seems a good compromise to me. Vicente