Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.6.2
-
None
-
Linux 64bit
Description
The following code is valid C++11 and does compile. However, QtCreator marks the line "using..." as wrong with the message
expected token `;' got `='
template <class F> class Foo { }; class Bar { }; using Baz = Foo<Bar>;
In the following code sample, QtCreator marks the line "void do_stuff..." as wrong with the error message
unexpected token `int'
template <class F> class Foo { }; template <class B> class Bar { }; class Baz { }; void do_stuff(int x, Foo<Bar<Baz>> y) { }