https://bugs.kde.org/show_bug.cgi?id=305940 Bug ID: 305940 Severity: minor Version: 4.3.1 Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: "Move into source" on templated class member does not generate template declaration in source Classification: Unclassified OS: Linux Reporter: rrrperson@gmail.com Hardware: openSUSE RPMs Status: UNCONFIRMED Component: general Product: kdevelop After selecting "Move into source" on a templated class member function (e.g. MyClass& operator=(const MyClass& rhs) {...}), the code moved into the source does not include the necessary "template" above it, and needs to be manually added. Also, the declaration in the source is incorrect, and is missing the template brackets before the scope resolution operator. Reproducible: Always Steps to Reproduce: 1. Put cursor on inline declaration of member function of a templated class. 2. Click Code -> Move into source 3. Missing "template" in source. Actual Results: You get a declaration like "void MyClass::foo(T bar)" which is incorrect Expected Results: The declaration it should generate is like this: template void MyClass::foo(T bar) {...} The class and files were auto-generated using the wizard, however I saw no option for adding a template parameter, so I added it to the class declaration myself. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs