We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c52ade commit a60ba20Copy full SHA for a60ba20
clang/lib/Sema/SemaTemplateDeduction.cpp
@@ -4398,8 +4398,7 @@ Sema::TemplateDeductionResult Sema::DeduceTemplateArguments(
4398
PackScope.nextPackElement();
4399
}
4400
} else if (!IsTrailingPack && !PackScope.isPartiallyExpanded() &&
4401
- PackScope.isDeducedFromEarlierParameter() &&
4402
- !isa<PackExpansionType>(ParamTypes[ParamIdx + 1])) {
+ PackScope.isDeducedFromEarlierParameter()) {
4403
// [temp.deduct.general#3]
4404
// When all template arguments have been deduced
4405
// or obtained from default template arguments, all uses of template
0 commit comments