[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 220268] New: "variable.template function<int>" doesn't work
From: Thorben Kröger <thorbenk () gmx ! net>
Date: 2009-12-27 13:16:40
Message-ID: bug-220268-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=220268
Summary: "variable.template function<int>" doesn't work
[testcase included]
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: thorbenk@gmx.net
Version: svn from 24.12.2009 (using Devel)
Installed from: Compiled sources
here is a small testcase where kdevelop fails to parse valid C++:
class A {
public:
template<int U>
void func() {}
};
template<class S>
void test() {
A a;
//kdevelop doesn't like this
a.template func<0>();
//this is ok
a.func<0>();
}
int main() {
test<int>();
}
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic