
15 Dec
2011
15 Dec
'11
11:49 a.m.
on Mon Dec 12 2011, Vicente Botet <vicente.botet-AT-wanadoo.fr> wrote:
Daryle Walker wrote
Date: Mon, 12 Dec 2011 12:55:33 +0000 From: dnljms@
On 12 December 2011 12:46, Daryle Walker <darylew@> wrote:
Should we add preprocessor stuff to conditionally use the C++11 "enum
class" construct?
We have something like that already:
Reading it, it doesn't have any base type and/or forward-declaration facilities.
How do you want to be able to use forward declaration in a portable way?
There are also scoped enums with underlying type that are no enum class.
Not in C++11. There are unscoped enums with underlying type, but the way you get scoping is to use "enum class." -- Dave Abrahams BoostPro Computing http://www.boostpro.com