re PR c++/48313 ([C++0x] std::bind with template function)
authorJason Merrill <jason@redhat.com>
Tue, 29 Mar 2011 00:04:54 +0000 (20:04 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Mar 2011 00:04:54 +0000 (20:04 -0400)
commitc2c6f7447124d1c4c4b22c9b3a794b4e03c204e3
treec48b7a18ab357abc1f9fccc3481885ec638b4566
parent71dae1fe00cc539586d1ea7fdc6e6e8e702947ee
re PR c++/48313 ([C++0x] std::bind with template function)

PR c++/48313
* pt.c (maybe_adjust_types_for_deduction): Handle T&& deduction
from overloaded function.

From-SVN: r171643
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-deduce2.C [new file with mode: 0644]