Subject: Re: [boost] [C++0x] Emulation of scoped enums
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2009-03-05 19:42:12
On Thu, Mar 5, 2009 at 9:26 PM, Matt Calabrese <rivorus_at_[hidden]> wrote:
>> I wouldn't. If you really want to use one macro only, I would use the
>> PP sequence
> I'm gonna be the rebel and say that I think how it's currently implemented
> is [unfortunately] the most functional and most portable option,
Actually I agree with you too. I just meant that I think the PP sequence
would be better than using a vararg macro.
Though I didn't know that it has a hard limit of 256 elements.
> 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.
> -Matt Calabrese
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk