Boost logo

Boost :

Subject: Re: [boost] Add macros for the "enum class" concept?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-12-18 08:08:41


on Sun Dec 18 2011, "Vicente J. Botet Escriba" <vicente.botet-AT-wanadoo.fr> wrote:

> 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?

You're asking the wrong guy. I suggest finding out who wrote the
standard proposals (you can find the paper and credits at
http://open-std.org).

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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