[Bug c++/21672] Loses temporary in complex expression
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Thu May 19 23:42:00 GMT 2005
------- Additional Comments From igodard at pacbell dot net 2005-05-19 23:42 -------
In particular, once you get all the template armwaving out of it:
int& foo(int i) { return i; }
should warn and does not.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21672
More information about the Gcc-bugs
mailing list