Skip to content

mangleTemplateFunctionToString

Mangles an instantiated template function or template member function.

Synopsis

Declared in <SageIII/manglingSupport.h>

std::string
mangleTemplateFunctionToString(
    std::string const& templ_name,
    SgTemplateArgumentPtrList const& templ_args,
    SgFunctionType const* func_type,
    SgScopeStatement const* scope);

Return Value

Mangled name, including all parameter information.

Parameters

Name Description
templ_name [in] Unmangled base name of the function. 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.
func_type [in] The function's type (e.g., via 'get_type ()')
scope [in] Scope of the function (e.g., via 'get_scope ()'), used to get qualifiers.

Created with MrDocs