Boost logo

Boost :

Subject: Re: [boost] Add macros for the "enum class" concept?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-12-18 05:46:48


Le 17/12/11 23:12, Dave Abrahams a écrit :
> on Thu Dec 15 2011, Vicente Botet<vicente.botet-AT-wanadoo.fr> wrote:
>
>> IMO scope and convertibility are orthogonal. Do you know why this
>> combination was not retained?
> I'm afraid that I don't even understand your question... but even if I
> did, I'm pretty sure I wouldn't know the answer.
>
Why C++11 doesn't supports scoped enums with underlying type that are
implicitly convertible to the underlying type?

Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk