[Bug c++/54606] reference assignment failing/points at previous object
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 17 14:13:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|libstdc++ |c++
Resolution| |INVALID
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-17 14:13:28 UTC ---
References cannot be assigned in C++, your code just triggers undefined
behavior.
More information about the Gcc-bugs
mailing list