Function: c-lineup-template-args
c-lineup-template-args is a byte-compiled function defined in
cc-align.el.gz.
Signature
(c-lineup-template-args LANGELEM)
Documentation
Line up template argument lines under the first argument.
To allow this function to be used in a list expression, nil is returned if there's no template argument on the first line.
Works with: template-args-cont.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-align.el.gz
(defun c-lineup-template-args (_langelem)
"Line up template argument lines under the first argument.
To allow this function to be used in a list expression, nil is
returned if there's no template argument on the first line.
Works with: template-args-cont."
(save-excursion
(beginning-of-line)
(backward-up-list 1)
(if (and (eq (char-after) ?<)
(zerop (c-forward-token-2 1 nil (c-point 'eol))))
(vector (current-column)))))