Implement the special template argument deduction rule for T&& in a
commit2ae23864e26562d017e95091d12c0a98f4bfd804
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 21 Jan 2011 05:18:22 +0000 (21 05:18 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Fri, 21 Jan 2011 05:18:22 +0000 (21 05:18 +0000)
treee5e80a65e5c0b46847fd11fa81c8028377f2fe6c
parent39e72b1a26e244b85c4f741561aadd64b5503bf5
Implement the special template argument deduction rule for T&& in a
call (C++0x [temp.deduct.call]p3).

As part of this, start improving the reference-binding implementation
used in the computation of implicit conversion sequences (for overload
resolution) to reflect C++0x semantics. It still needs more work and
testing, of course.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp [new file with mode: 0644]