Function mangleTemplateToString(const std::string&, const SgTemplateArgumentPtrList&, const SgScopeStatement *)

Function mangleTemplateToString(const std::string&, const SgTemplateArgumentPtrList&, const SgScopeStatement *)#

Function Documentation#

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

Mangles an instantiated template.

Parameters:
  • 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.

Returns:

Mangled name, including all parameter information.