Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 1.3.0 rc1
-
None
-
22d75c4c2075a99c0dc39513837ed6441440aad6
Description
In the following code, the declaration of foo() is marked with the message "M is not a type name":
template<int N> class X {}; template<int M> class Y { void foo(const X<M>& test); };
When M is defined as class or typename instead of as primitive type, the message disappears.
Reported on the mailing list: http://lists.trolltech.com/pipermail/qt-creator/2009-November/005190.html