[Bug c++/17022] Behavior of out-of-range enums
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 14 03:58:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-08-14 03:58 -------
The size of a variable of enum type is exactly the number of bits needed
to represent the largest member of the enum (so that you can bit-or
elements). The result therefore makes perfect sense.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17022
More information about the Gcc-bugs
mailing list