Implement the rvalue-reference deduction transformation (from T&& ->
commit6c0b1dbae3379b044da017ada6fc9fc03b88e29a
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 25 Jan 2011 17:19:08 +0000 (25 17:19 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Tue, 25 Jan 2011 17:19:08 +0000 (25 17:19 +0000)
tree792f250e7d9bf62c7592c3b9cb615f348dabe64a
parentf65fe9f45a03ecabd93dc0672efd805d82a8cc51
Implement the rvalue-reference deduction transformation (from T&& ->
T) when taking the address of an overloaded function or matching a
specialization to a template (C++0x [temp.deduct.type]p10). Fixes
PR9044.

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