This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]