This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
G++ enums 'underlying type'
- From: Paolo Carlini <pcarlini at suse dot de>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 25 Dec 2004 18:33:37 +0100
- Subject: G++ enums 'underlying type'
Hi everyone,
assuming something specific about g++ 'underlying type' (7.2/5) will
alow me to remarkably simplifiy the implementation of
tr1/type_traits/is_enum: is it signed or not? Basing on some simple
experiments on x86, seems always wide either like an int or a long: is
this correct in general?
Thanks in advance for any help,
Paolo.