-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.1.0-beta1
-
None
-
34baa3ec472032428cd01b80692bd69126cb324a
template<class T> class Foo { void func() {} }; // Move definition of func outside
Expected:
template<class T> class Foo { void func(); }; template<class T> void Foo<T>::func() {}
Instead we get:
template<class T> class Foo { void func(); }; void Foo::func() {}
Both the template itself, and the specialization (Foo<T>) are missing.
- relates to
-
QTCREATORBUG-14354 Move Definition to Class leaves template<> behind
-
- Closed
-