[clang] [clang] Implement provisional wording for CWG2398 regarding packs (PR #90820)
via cfe-commits
cfe-commits at lists.llvm.org
Wed May 8 02:41:14 PDT 2024
================
@@ -2552,7 +2553,7 @@ DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams,
ArrayRef<TemplateArgument> As,
TemplateDeductionInfo &Info,
SmallVectorImpl<DeducedTemplateArgument> &Deduced,
- bool NumberOfArgumentsMustMatch) {
+ bool NumberOfArgumentsMustMatch, bool Swapped) {
----------------
cor3ntin wrote:
I think this needs a comment.
`Swapped` should be defaulted and have a better name.
Maybe `ForPartialOrderingOfDeducedTemplateTemplateArgument`
https://github.com/llvm/llvm-project/pull/90820
More information about the cfe-commits
mailing list