Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.15.0
-
None
-
c5d080570b7b8e85307b94cd4a9f5855a562b10d (qt-creator/qt-creator/5.0)
Description
consider:
template <typename T> class base {}; template <> class base<int> { public: void bar() const {} };
moving `bar()` outside of the class via "refactoring" gives me:
template<> void base<int><>::bar() const {}
this is invalid. it should be:
void base<int>::bar() const {}
(same applies to "add definition outside of class")