Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 10.0.2, Qt Creator 11.0.0
-
Linux Fedora 38
-
-
9c4ba3ff2 (master)
Description
Just wrote the following code in Qt Creator 10.0.2:
template <typename Type1>
struct Blob
;
and used Qt Creator's refactoring capability (Right clicked on `foo` -> Refactor -> Add Definition Outside Class) and it generated this:
template<typename Type2>
void Blob::foo<Type2>()
{
}
which is 100% FALSE.
BTW, CLion generates the right code, but Qt Creator, Does NOT.
and I just checked Qt Creator 11, and still Qt Creator doesn't generate the right definition.
Attachments
Issue Links
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTCREATORBUG-29408 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
516883,6 | QuickFix: Fix add definition for templated function | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |