-
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
-
For Gerrit Dashboard: QTCREATORBUG-16649 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165836,2 | CppEditor: Add a failing test for move outside class with template | 4.1 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
168671,2 | CppEditor: Add enclosing template on "Move Definition Outside" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |