Subject: bug#7917: [PATCH] cc-mode: not all templates are types

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 26 Feb 2016 16:52:27 +1030

Daniel Colascione <[email-masked]> writes:

> None of the templates here should be fontified as types.
>
> template<typename T>
> void foo(T t)
> {}
>
> template<>
> void foo<int>(int x)
> {}
>
> void bar()
> {
>     foo<int>(5);
> }

On the Emacs trunk, I can't see anything immediately wrong about the
fontification of the templates -- they're all fontified with the keyword
face.

So has this been fixed in the meantime (just five years)?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no