Skip to content

SageBuilder::buildTemplateParameter

All overloads of SageBuilder::buildTemplateParameter

Build a template parameter, passing enum kind and SgTemplateType template_parameter_enum { parameter_undefined = 0, type_parameter = 1, nontype_parameter = 2, template_parameter = 3}

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgTemplateParameter*
buildTemplateParameter(
    SgTemplateParameter::template_parameter_enum parameterType,
    SgType*,
    SgTemplateParameter::template_parameter_keyword_enum keyword,
    SgInitializedName* initializedName = nullptr,
    SgTemplateParameter* canonicalNonTypeParameter = nullptr,
    SgTemplateDeclaration* templateDeclaration = nullptr);

Parameters

Name Description
parameterType Different uses of a template parameter
keyword Spelling preserved for template parameter keywords.
initializedName This class represents the notion of a declared variable.
templateDeclaration This class represents the concept of a template declaration.

Created with MrDocs