From: Lars Ingebrigtsen <larsi@gnus.org>
To: Daniel Colascione <dan.colascione@gmail.com>
Cc: 7917@debbugs.gnu.org
Subject: bug#7917: [PATCH] cc-mode: not all templates are types
Date: Fri, 26 Feb 2016 16:52:27 +1030 [thread overview]
Message-ID: <87egc0uh24.fsf@gnus.org> (raw)
In-Reply-To: <AANLkTi=KTbGo_gu04T9A38BOrCFUj488M_3WDN08YvZh@mail.gmail.com> (Daniel Colascione's message of "Tue, 25 Jan 2011 22:29:01 -0800")
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
next prev parent reply other threads:[~2016-02-26 6:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 6:29 bug#7917: [PATCH] cc-mode: not all templates are types Daniel Colascione
2016-02-26 6:22 ` Lars Ingebrigtsen [this message]
2016-02-26 6:30 ` Daniel Colascione
2016-02-26 7:10 ` Lars Ingebrigtsen
2016-02-27 4:03 ` Lars Ingebrigtsen
2016-02-28 21:32 ` Alan Mackenzie
2016-02-29 2:51 ` Lars Ingebrigtsen
2016-02-29 22:14 ` Alan Mackenzie
2016-04-01 13:07 ` Alan Mackenzie
2017-06-29 1:02 ` npostavs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egc0uh24.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=7917@debbugs.gnu.org \
--cc=dan.colascione@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.