-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0
-
None
-
05e698a478c7a91bef5aa16ec9215fe391b8a195 (qt-creator/qt-creator/6.0)
a small issue in the "add definition" feature:
#include <array>
struct foo
{
template <int N>
using int_array = std::array<int, N>;
int_array<5> bar();
};
if i "add definition" for bar(), qtcreator generates:
int_array<5> foo::bar()
{}
but of course it should be:
foo::int_array<5> foo::bar()
{}
| For Gerrit Dashboard: QTCREATORBUG-26397 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 378483,3 | CppEditor: Fix "insert def from decl" for template return types | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |