Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.2
-
None
-
3cd2e2c445e4e48622ddd26a3ac6fa28b254f873 (qt-creator/qt-creator/4.14)
Description
Adding a declared method in a templated class to its implementation file, or moving an existing definition from the declaration to its implementation file, generates bad code under these conditions: other methods exist in the implementation file and the method being moved/added will be inserted before the existing ones.
The attached files demonstrate the issue.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24801 Move definition of a template member to impl file fails
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-24848 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321530,2 | CppEditor: Improve "definition from declaration" for templates | 4.14 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |