bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#7917: [PATCH] cc-mode: not all templates are types
Date: Fri, 26 Feb 2016 16:52:27 +1030
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Daniel Colascione <dan.colascione@gmail.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]