This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] C++0x scoped enumerations
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Doug Gregor <doug dot gregor at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 23 Aug 2008 14:11:50 +0200
- Subject: Re: [C++ PATCH] C++0x scoped enumerations
- References: <24b520d20808230137i7f16d55dkc7b0dbc29b134a04@mail.gmail.com>
> +/* Determines whether this type is a C++0x scoped enumeration
> + type. Scoped enumerations types are introduced via "enum class" or
> + "enum struct", e.g.,
> +
> + enum Color {
> + Red, Green, Blue
> + }
I guess there is some inconsistency here. :-)
Paolo