Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 15.0.0-beta1
-
996904609 (15.0), 404832815 (15.0)
Description
struct foo { template <auto Bar> void bar() {} };
move definition gives me:
struct foo { template <auto Bar> void bar(); }; inline template <Bar> void foo::bar() { }
while it should be
template <auto Bar> inline void foo::bar()
- the `auto` keyword is dropped
- the `inline` keyword is placed before template, it should be placed before the return type
Attachments
For Gerrit Dashboard: QTCREATORBUG-31678 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609571,3 | CppEditor: Fix pretty-printing of auto type | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |
609773,3 | CppEditor: Fix "inline" placement also when moving definitions | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |