[Bug c++/25466] typeid expression fails to throw bad_typeid according to 5.2.8p2

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 1 11:53:00 GMT 2012


--- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-01 11:53:26 UTC ---
I see, thanks Daniel for the additional analysis. Indeed, I can confirm that
with the operator+ return type fixed, ICC doesn't throw either. Now I guess
it's my job to figure out the minimal change getting us the desired behavior...

More information about the Gcc-bugs mailing list