[Bug c++/49267] Ambiguity with conversion functions "T&" and "T&&", initializing a "T&&"

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 5 04:35:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49267

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-05 04:34:01 UTC ---
Author: jason
Date: Mon Sep  5 04:33:57 2011
New Revision: 178521

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178521
Log:
    PR c++/49267
    * call.c (reference_binding): Don't set is_lvalue for an rvalue
    reference rfrom.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c



More information about the Gcc-bugs mailing list