Skip to content

mangleTemplateToString

mangleTemplateToString overloads

Synopses

Declared in <SageIII/manglingSupport.h>

Mangles an instantiated template.

std::string
mangleTemplateToString(
    std::string const& templ_name,
    SgTemplateArgumentPtrList const& templ_args,
    SgScopeStatement const* scope);

» more...

Mangles a template.

std::string
mangleTemplateToString(
    std::string const& templ_name,
    SgTemplateParameterPtrList const& templ_params,
    SgScopeStatement const* scope);

» more...

Return Value

Mangled name, including all parameter information.

Parameters

Name Description
templ_name [in] Unmangled base name of the template. This std::string should not contain the template arguments (i.e., should be 'foo' and not 'foo < int >').
templ_args [in] Container of template arguments.
scope [in] Scope of the function (e.g., via 'get_scope ()'), used to get qualifiers.
templ_params [in] Container of template parameters.

Created with MrDocs