[Bug c++/986] g++ misses warning for & on temporary
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Wed Jun 16 01:47:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-06-16 01:47 -------
Uh? I never saw this bug before. Clearly there is nothing wrong in the code, as
the temporary is *bound* to the constant reference, so that its lifetime
extends to Y's liftime.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=986
More information about the Gcc-bugs
mailing list