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

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

Function Documentation#

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

Mangles a template.

Parameters:
  • templ_name[in] Unmangled base name of the template. This std::string should not contain the template parameter (i.e., should be ‘foo’ and not ‘foo < typename T >’).

  • templ_params[in] Container of template parameters.

  • scope[in] Scope of the function (e.g., via ‘get_scope ()’), used to get qualifiers.

Returns:

Mangled name, including all parameter information.