This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48313] [C++0x] std::bind with template function
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 00:05:05 +0000
- Subject: [Bug c++/48313] [C++0x] std::bind with template function
- Auto-submitted: auto-generated
- References: <bug-48313-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-29 00:04:57 UTC ---
Author: jason
Date: Tue Mar 29 00:04:54 2011
New Revision: 171643
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171643
Log:
PR c++/48313
* pt.c (maybe_adjust_types_for_deduction): Handle T&& deduction
from overloaded function.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/rv-deduce2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog