[clang] [Sema]Substitue parameter packs when deduced from function parameter (PR #79371)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 01:37:13 PST 2024


================
@@ -431,6 +442,17 @@ namespace deduction_after_explicit_pack {
     i<int, int>(0, 1, 2, 3, 4, 5); // expected-error {{no match}}
   }
 
+  template <typename... T>
+  void bar(args_tag<T...>, type_identity_t<T>..., int mid, type_identity_t<T>...) {}
----------------
cor3ntin wrote:

What happens without the mid parameter ?

https://github.com/llvm/llvm-project/pull/79371


More information about the cfe-commits mailing list