[Bug c++/65890] [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 26 12:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This was changed by
http://open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#613

It was a defect in the original standard. What possible advantage is there in
rejecting it in C++03 mode but accepting it in C++11 mode? i.e. why do you
consider this a bug?



More information about the Gcc-bugs mailing list