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 14:25:36 +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 #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-29 14:25:34 UTC ---
Author: jason
Date: Tue Mar 29 14:25:22 2011
New Revision: 171669
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171669
Log:
PR c++/48313
* pt.c (maybe_adjust_types_for_deduction): Handle T&& deduction
from overloaded function.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-deduce2.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/pt.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog