https://llvm.org/bugs/show_bug.cgi?id=26017
Bug ID: 26017 Summary: Template arg deduction fails for alias, works w/o alias Product: clang Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: jas...@jawset.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified template<class Sig> struct Foo { Foo(const Sig&) {} }; template<class... Args> using FooAlias = Foo<void(Args...)>; template<class... Args> // compiles: // void bar(const Foo<void(Args...)>&) // error: no matching function for call to 'bar' void bar(const FooAlias<Args...>&) {} void baz() {} int main() { bar(FooAlias<>(baz)); } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs