[clang] [Sema] Substitue parameter packs when deduced from function arguments (PR #79371)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 25 11:41:54 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:
Yes, i think we should support that, and add a test for it )as long as the standard says it should work, which i think it does
https://github.com/llvm/llvm-project/pull/79371
More information about the cfe-commits
mailing list