Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.8.0-beta
-
None
-
Windows 7 Mingw gcc 4.8.0
-
5510ec0552001e12706e20ab6919a57ac2717726
Description
template <class A = std::vector<int> > class C{ };
The auto completion for the above code works fine. However, that of the following code does not.
template <class A = std::vector<int>> // <-- note that there is no white space between >'s. class C{ };
Attachments
Issue Links
- relates to
-
QTCREATORBUG-9199 Auto-indent fails after double template closing (>>) in a function's return type
- Closed
- replaces
-
QTCREATORBUG-11540 parser / indentation issue
- Closed
For Gerrit Dashboard: QTCREATORBUG-9640 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
80989,1 | CppTools: Fix indent after template params | master | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |
81142,1 | CppTools: Fix indent after template params | 3.1 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |