Skip to content

ASTtools::publishTemplateParameterPackExpansion

Publish the exact use‐site pack‐expansion surface for an argument that references a template parameter. A type parameter's SgTemplateType owns the ellipsis in its declaration; the SgTemplateArgument owns the ellipsis in a generated template‐id use.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/ASTtools.hh>

[[visibility]]
void
publishTemplateParameterPackExpansion(
    SgTemplateParameter const* parameter,
    SgTemplateArgument* argument);

Parameters

Name

Description

argument

This class represents template argument within the use of a template to build an instantiation.

Created with MrDocs