]> granicus.if.org Git - clang/commit
C++11 [temp.deduct.call]p6 tweak: when given a set of overlaoded
authorDouglas Gregor <dgregor@apple.com>
Mon, 12 Mar 2012 21:09:16 +0000 (21:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 12 Mar 2012 21:09:16 +0000 (21:09 +0000)
commit860d9b780b54f56cd27e16620196d213385d31f7
treeb1b09a91826916aa931ebf7d06853df4057ef2e3
parent71930e02730f3afecd6e71e4d6831b4a07436a7f
C++11 [temp.deduct.call]p6 tweak: when given a set of overlaoded
functions that includes an explicit template argument list, perform
an inner deduction against each of the function templates in that list
and, if successful, use the result of that deduction for the outer
template argument deduction. Fixes PR11713.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p6.cpp