Function: semantic-c--template-name

semantic-c--template-name is a byte-compiled function defined in c.el.gz.

Signature

(semantic-c--template-name TYPE SPEC-LIST)

Documentation

Return a template class name for TYPE based on SPEC-LIST.

For a type ref with a template specifier of (Foo Bar) it will return ref<Foo,Bar>.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defun semantic-c--template-name (type spec-list)
  "Return a template class name for TYPE based on SPEC-LIST.
For a type `ref' with a template specifier of (Foo Bar) it will
return `ref<Foo,Bar>'."
  (concat (semantic-tag-name type)
	  "<" (semantic-c--template-name-1 (cdr spec-list)) ">"))