Implement support for template template parameter packs, e.g.,
template<template<class> class ...Metafunctions>
struct apply_to_each;
llvm-svn: 122874
This commit is contained in:
@@ -412,9 +412,10 @@ SourceLocation NonTypeTemplateParmDecl::getDefaultArgumentLoc() const {
|
||||
TemplateTemplateParmDecl *
|
||||
TemplateTemplateParmDecl::Create(ASTContext &C, DeclContext *DC,
|
||||
SourceLocation L, unsigned D, unsigned P,
|
||||
IdentifierInfo *Id,
|
||||
bool ParameterPack, IdentifierInfo *Id,
|
||||
TemplateParameterList *Params) {
|
||||
return new (C) TemplateTemplateParmDecl(DC, L, D, P, Id, Params);
|
||||
return new (C) TemplateTemplateParmDecl(DC, L, D, P, ParameterPack, Id,
|
||||
Params);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user