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

Previous Next

Packages: cc-mode, emacs;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Wed, 26 Jan 2011 06:22:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Found in version 24.5

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dan.colascione <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] cc-mode: not all templates are types
Date: Tue, 25 Jan 2011 22:29:01 -0800
[Message part 1 (text/plain, inline)]
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);
}
[templatefunc.patch (text/plain, attachment)]

This bug report was last modified 8 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.