This is the mail archive of the gcc-bugs@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]

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


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?


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