[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 294306] Kdevelop C++ parser can not parse std::unique_ptr from gcc 4.6
From: Milian Wolff <mail () milianw ! de>
Date: 2012-02-17 17:57:11
Message-ID: E1RyS3T-0001NK-D9 () bugs ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=294306
--- Comment #2 from Milian Wolff <mail milianw de> 2012-02-17 17:57:11 ---
minimal testcase whichs shows that we don't understand the specialization with
T[] properly, see:
template <typename T>
class test
{
public:
void foo() {}
};
template<typename T>
class test<T[]>
{
};
int main() {
test<int> t1;
// should work:
t1.foo();
test<int[]> t2;
// should not work:
t2.foo();
return 0;
}
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic